From 26ca925838556369ecde923ad01509a2f10afcc2 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Fri, 16 Mar 2007 14:49:11 +0000 Subject: Remove warning: funcion declaration isn't a prototype --- Objects/object.c | 3 +-- 1 file changed, 1 insertion(+), 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 - -- cgit v0.12