Issue #17832: fix a compilation warning about a function prototype.

Also, make the private function static.
This commit is contained in:
Antoine Pitrou 2013-04-24 20:17:53 +02:00
parent 45f3d2fff0
commit 208ac5cf65
1 changed files with 2 additions and 1 deletions

View File

@ -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)