diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2007-03-16 14:49:11 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2007-03-16 14:49:11 (GMT) |
commit | 26ca925838556369ecde923ad01509a2f10afcc2 (patch) | |
tree | 2a48c73242c46b7fd9b67fc6f67dcf02150c3c48 /Objects | |
parent | 594965d17a6072dd1e1cbdd50602c71ca7395670 (diff) | |
download | cpython-26ca925838556369ecde923ad01509a2f10afcc2.zip cpython-26ca925838556369ecde923ad01509a2f10afcc2.tar.gz cpython-26ca925838556369ecde923ad01509a2f10afcc2.tar.bz2 |
Remove warning: funcion declaration isn't a prototype
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/object.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/object.c b/Objects/object.c index 1b37a8d..9e25467 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -1666,7 +1666,7 @@ merge_list_attr(PyObject* dict, PyObject* obj, const char *attrname) /* 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 @@ _PyTrash_destroy_chain(void) #ifdef __cplusplus } #endif - |