diff Python/pythonrun.c @ 83515:6eacc6c134a5

Issue #17832: fix a compilation warning about a function prototype. Also, make the private function static.
author Antoine Pitrou <solipsis@pitrou.net>
date Wed, 24 Apr 2013 20:17:53 +0200
parents 367167f93c30
children 97522b189c79
line wrap: on
line diff
--- a/Python/pythonrun.c	Wed Apr 24 05:34:07 2013 -0700
+++ b/Python/pythonrun.c	Wed Apr 24 20:17:53 2013 +0200
@@ -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)