From 49c75a8086c3df9add0779d2479b8f09b95cdf3b Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Sun, 28 Oct 2018 15:02:17 +0000 Subject: bpo-35064 prefix smelly symbols that appear with COUNT_ALLOCS with _Py_ (GH-10152) Configuring python with ./configure --with-pydebug CFLAGS="-D COUNT_ALLOCS -O0" makes "make smelly" fail as some symbols were being exported without the "Py_" or "_Py" prefixes. --- Python/sysmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Python/sysmodule.c') 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 -- cgit v1.2.1