From: Neal Norwitz <nnorwitz@gmail.com>
Date: Wed, 1 Jan 2003 15:18:32 +0000 (+0000)
Subject: Move _PyInt_Init() into pythonrun.h, since all the other _Init()
X-Git-Tag: v2.3c1~2674
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc392e31439d9992ea0101abaca09bcb78ebc311;p=python

Move _PyInt_Init() into pythonrun.h, since all the other _Init()
functions are here.  Suggested by Skip.
---

diff --git a/Include/intobject.h b/Include/intobject.h
index cf463e465d..ab936b2615 100644
--- a/Include/intobject.h
+++ b/Include/intobject.h
@@ -30,7 +30,6 @@ PyAPI_DATA(PyTypeObject) PyInt_Type;
 #define PyInt_Check(op) PyObject_TypeCheck(op, &PyInt_Type)
 #define PyInt_CheckExact(op) ((op)->ob_type == &PyInt_Type)
 
-PyAPI_FUNC(int) _PyInt_Init(void);
 PyAPI_FUNC(PyObject *) PyInt_FromString(char*, char**, int);
 #ifdef Py_USING_UNICODE
 PyAPI_FUNC(PyObject *) PyInt_FromUnicode(Py_UNICODE*, int, int);
diff --git a/Include/pythonrun.h b/Include/pythonrun.h
index e65df9fcd0..5f6a67f538 100644
--- a/Include/pythonrun.h
+++ b/Include/pythonrun.h
@@ -101,6 +101,7 @@ PyAPI_FUNC(void) _PyImport_Init(void);
 PyAPI_FUNC(void) _PyExc_Init(void);
 PyAPI_FUNC(void) _PyImportHooks_Init(void);
 PyAPI_FUNC(int) _PyFrame_Init(void);
+PyAPI_FUNC(int) _PyInt_Init(void);
 
 /* Various internal finalizers */
 PyAPI_FUNC(void) _PyExc_Fini(void);