summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-06-29 00:06:39 (GMT)
committerGuido van Rossum <guido@python.org>2000-06-29 00:06:39 (GMT)
commit4f4b799b3358516370653900789132231324003c (patch)
treef717c6604a287db9c983a716fa6deb66320d79d0
parente8d2d6b34c8c1102777604e0b0dae80d0321a799 (diff)
downloadcpython-4f4b799b3358516370653900789132231324003c.zip
cpython-4f4b799b3358516370653900789132231324003c.tar.gz
cpython-4f4b799b3358516370653900789132231324003c.tar.bz2
Jack Jansen: Use include "" instead of <>; and staticforward declarations
-rw-r--r--Include/ucnhash.h2
-rw-r--r--Modules/ucnhash.c6
-rw-r--r--Objects/unicodeobject.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/Include/ucnhash.h b/Include/ucnhash.h
index f27a16f..713fd3d 100644
--- a/Include/ucnhash.h
+++ b/Include/ucnhash.h
@@ -1,5 +1,5 @@
-#include <Python.h>
+#include "Python.h"
#include <stdlib.h>
/* --- C API ----------------------------------------------------*/
diff --git a/Modules/ucnhash.c b/Modules/ucnhash.c
index 6e598cb..0b2aa17 100644
--- a/Modules/ucnhash.c
+++ b/Modules/ucnhash.c
@@ -1,4 +1,4 @@
-#include <ucnhash.h>
+#include "ucnhash.h"
/*
* The hash is produced using the algorithm described in
@@ -19,8 +19,8 @@
#define k_cKeys 10538
-static const unsigned short G[k_cHashElements];
-static const _Py_UnicodeCharacterName aucn[k_cKeys];
+staticforward const unsigned short G[k_cHashElements];
+staticforward const _Py_UnicodeCharacterName aucn[k_cKeys];
static long f1(const char *key, unsigned int cch)
{
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 57bedb8..f907712 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -66,7 +66,7 @@ Unicode Integration Proposal (see file Misc/unicode.txt).
#include "mymath.h"
#include "unicodeobject.h"
-#include <ucnhash.h>
+#include "ucnhash.h"
#if defined(HAVE_LIMITS_H)
#include <limits.h>