mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Make gcc -Wall happy
This commit is contained in:
parent
472c04f18f
commit
da9c2710c7
5 changed files with 6 additions and 20 deletions
|
@ -626,8 +626,8 @@ _Py_GetObjects(self, args)
|
|||
|
||||
|
||||
/* Hack to force loading of cobject.o */
|
||||
static PyTypeObject *cobject_hack = &PyCObject_Type;
|
||||
PyTypeObject *_Py_cobject_hack = &PyCObject_Type;
|
||||
|
||||
|
||||
/* Hack to force loading of abstract.o */
|
||||
static int (*abstract_hack) FPROTO((PyObject *)) = &PyObject_Length;
|
||||
int (*_Py_abstract_hack) FPROTO((PyObject *)) = &PyObject_Length;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue