mirror of https://github.com/python/cpython
Jack Jansen: Use include "" instead of <>; and staticforward declarations
This commit is contained in:
parent
e8d2d6b34c
commit
4f4b799b33
|
@ -1,5 +1,5 @@
|
|||
|
||||
#include <Python.h>
|
||||
#include "Python.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
/* --- C API ----------------------------------------------------*/
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue