mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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
|
||||
|
||||
#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…
Add table
Add a link
Reference in a new issue