From 4f4b799b3358516370653900789132231324003c Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 29 Jun 2000 00:06:39 +0000 Subject: Jack Jansen: Use include "" instead of <>; and staticforward declarations --- Include/ucnhash.h | 2 +- Modules/ucnhash.c | 6 +++--- Objects/unicodeobject.c | 2 +- 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 +#include "Python.h" #include /* --- 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 +#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 +#include "ucnhash.h" #if defined(HAVE_LIMITS_H) #include -- cgit v0.12