[Python-checkins] r54414 - python/trunk/Objects/object.c
jeremy.hylton
python-checkins at python.org
Fri Mar 16 15:49:14 CET 2007
Author: jeremy.hylton
Date: Fri Mar 16 15:49:11 2007
New Revision: 54414
Modified:
python/trunk/Objects/object.c
Log:
Remove warning: funcion declaration isn't a prototype
Modified: python/trunk/Objects/object.c
==============================================================================
--- python/trunk/Objects/object.c (original)
+++ python/trunk/Objects/object.c Fri Mar 16 15:49:11 2007
@@ -1666,7 +1666,7 @@
/* Helper for PyObject_Dir without arguments: returns the local scope. */
static PyObject *
-_dir_locals()
+_dir_locals(void)
{
PyObject *names;
PyObject *locals = PyEval_GetLocals();
@@ -2209,4 +2209,3 @@
#ifdef __cplusplus
}
#endif
-
More information about the Python-checkins
mailing list