Issue #17832: fix a compilation warning about a function prototype.
Also, make the private function static.
This commit is contained in:
parent
45f3d2fff0
commit
208ac5cf65
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue