summaryrefslogtreecommitdiff
path: root/Objects/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 1b37a8dad3..9e254676b4 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
-