commit | da9c2710c728407f47f34635a75647c56a9ec106 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Dec 05 21:58:58 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Dec 05 21:58:58 1996 +0000 |
tree | b8248e8ba3432a2d4b4fc4034214a60b2b96cf9d | |
parent | 472c04f18f54327433c13601b25c7ea2c7071e6b [diff] [blame] |
Make gcc -Wall happy
diff --git a/Objects/object.c b/Objects/object.c index 2bc1ba4..0af31ba 100644 --- a/Objects/object.c +++ b/Objects/object.c
@@ -626,8 +626,8 @@ /* 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;