summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/pylifecycle.c4
-rw-r--r--Python/sysmodule.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index ec39500d4c..f1579c781d 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -929,7 +929,7 @@ Py_Initialize(void)
#ifdef COUNT_ALLOCS
-extern void dump_counts(FILE*);
+extern void _Py_dump_counts(FILE*);
#endif
/* Flush stdout and stderr */
@@ -1112,7 +1112,7 @@ Py_FinalizeEx(void)
/* Debugging stuff */
#ifdef COUNT_ALLOCS
- dump_counts(stderr);
+ _Py_dump_counts(stderr);
#endif
/* dump hash stats */
_PyHash_Fini();
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 58ea60595c..f88b273e26 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -1340,9 +1340,9 @@ size."
static PyObject *
sys_getcounts(PyObject *self)
{
- extern PyObject *get_counts(void);
+ extern PyObject *_Py_get_counts(void);
- return get_counts();
+ return _Py_get_counts();
}
#endif