Make gcc -Wall happy

This commit is contained in:
Guido van Rossum 1996-12-05 21:58:58 +00:00
parent 472c04f18f
commit da9c2710c7
5 changed files with 6 additions and 20 deletions

View file

@ -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;