Remove warning: funcion declaration isn't a prototype

This commit is contained in:
Jeremy Hylton 2007-03-16 14:49:11 +00:00
parent 594965d17a
commit 26ca925838

View file

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