From: Guido van Rossum Date: Thu, 29 Jun 2000 00:06:39 +0000 (+0000) Subject: Jack Jansen: Use include "" instead of <>; and staticforward declarations X-Git-Tag: v2.0b1~1321 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4f4b799b3358516370653900789132231324003c;p=python Jack Jansen: Use include "" instead of <>; and staticforward declarations --- diff --git a/Include/ucnhash.h b/Include/ucnhash.h index f27a16fbc9..713fd3d81e 100644 --- a/Include/ucnhash.h +++ b/Include/ucnhash.h @@ -1,5 +1,5 @@ -#include +#include "Python.h" #include /* --- C API ----------------------------------------------------*/ diff --git a/Modules/ucnhash.c b/Modules/ucnhash.c index 6e598cb76e..0b2aa17f9e 100644 --- a/Modules/ucnhash.c +++ b/Modules/ucnhash.c @@ -1,4 +1,4 @@ -#include +#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 57bedb8abc..f907712d83 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 +#include "ucnhash.h" #if defined(HAVE_LIMITS_H) #include