mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Remove warning: funcion declaration isn't a prototype
This commit is contained in:
parent
594965d17a
commit
26ca925838
1 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue