Commit 26ca9258 authored by Jeremy Hylton's avatar Jeremy Hylton

Remove warning: funcion declaration isn't a prototype

parent 594965d1
...@@ -1666,7 +1666,7 @@ merge_list_attr(PyObject* dict, PyObject* obj, const char *attrname) ...@@ -1666,7 +1666,7 @@ merge_list_attr(PyObject* dict, PyObject* obj, const char *attrname)
/* Helper for PyObject_Dir without arguments: returns the local scope. */ /* Helper for PyObject_Dir without arguments: returns the local scope. */
static PyObject * static PyObject *
_dir_locals() _dir_locals(void)
{ {
PyObject *names; PyObject *names;
PyObject *locals = PyEval_GetLocals(); PyObject *locals = PyEval_GetLocals();
...@@ -2209,4 +2209,3 @@ _PyTrash_destroy_chain(void) ...@@ -2209,4 +2209,3 @@ _PyTrash_destroy_chain(void)
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment