diff options
-rw-r--r-- | Include/intobject.h | 2 | ||||
-rw-r--r-- | Include/pythonrun.h | 2 | ||||
-rw-r--r-- | Objects/frameobject.c | 2 | ||||
-rw-r--r-- | Objects/intobject.c | 2 | ||||
-rw-r--r-- | Python/pythonrun.c | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/Include/intobject.h b/Include/intobject.h index 50e6a73..cf463e4 100644 --- a/Include/intobject.h +++ b/Include/intobject.h @@ -30,7 +30,7 @@ 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(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 898eead..e65df9fc 100644 --- a/Include/pythonrun.h +++ b/Include/pythonrun.h @@ -100,7 +100,7 @@ PyAPI_FUNC(PyObject *) _PySys_Init(void); 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) _PyFrame_Init(void); /* Various internal finalizers */ PyAPI_FUNC(void) _PyExc_Fini(void); diff --git a/Objects/frameobject.c b/Objects/frameobject.c index b982064..2c62b67 100644 --- a/Objects/frameobject.c +++ b/Objects/frameobject.c @@ -527,7 +527,7 @@ PyTypeObject PyFrame_Type = { static PyObject *builtin_object; -int PyFrame_Init() +int _PyFrame_Init() { builtin_object = PyString_InternFromString("__builtins__"); return (builtin_object != NULL); diff --git a/Objects/intobject.c b/Objects/intobject.c index 10587ac..d9e4d31 100644 --- a/Objects/intobject.c +++ b/Objects/intobject.c @@ -939,7 +939,7 @@ PyTypeObject PyInt_Type = { }; int -PyInt_Init(void) +_PyInt_Init(void) { PyIntObject *v; int ival; diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 81543cc..fba3ade 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -124,10 +124,10 @@ Py_Initialize(void) _Py_ReadyTypes(); - if (!PyFrame_Init()) + if (!_PyFrame_Init()) Py_FatalError("Py_Initialize: can't init frames"); - if (!PyInt_Init()) + if (!_PyInt_Init()) Py_FatalError("Py_Initialize: can't init ints"); interp->modules = PyDict_New(); |