mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef Py_REF_DEBUG
|
#ifdef Py_REF_DEBUG
|
||||||
void _print_total_refs() {
|
static
|
||||||
|
void _print_total_refs(void) {
|
||||||
PyObject *xoptions, *key, *value;
|
PyObject *xoptions, *key, *value;
|
||||||
xoptions = PySys_GetXOptions();
|
xoptions = PySys_GetXOptions();
|
||||||
if (xoptions == NULL)
|
if (xoptions == NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue