diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-04-24 20:17:53 +0200 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-04-24 20:17:53 +0200 |
commit | 77fee69c3d917426c31557ec45eec4f72a51877f (patch) | |
tree | 777a175690d83f5ac2b5f1d9e8a05615100429fe /Python/pythonrun.c | |
parent | 379c3fc89635bedf15fafcfb82561c0114e07c79 (diff) | |
download | cpython-77fee69c3d917426c31557ec45eec4f72a51877f.tar.gz |
Issue #17832: fix a compilation warning about a function prototype.
Also, make the private function static.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 751008ac30..0cd695f36e 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -36,7 +36,8 @@ #endif #ifdef Py_REF_DEBUG -void _print_total_refs() { +static +void _print_total_refs(void) { PyObject *xoptions, *key, *value; xoptions = PySys_GetXOptions(); if (xoptions == NULL) |