From: Antoine Pitrou Date: Wed, 24 Apr 2013 18:17:53 +0000 (+0200) Subject: Issue #17832: fix a compilation warning about a function prototype. X-Git-Tag: v3.4.0a1~848 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=208ac5cf6553e8c83dbefef8ef180c5394baa7bc;p=python Issue #17832: fix a compilation warning about a function prototype. Also, make the private function static. --- 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)