diff Python/sysmodule.c @ 3609:0b0c4ed1936a legacy-trunk

rename printrefs, getobjects to _Py_ prefix
author Guido van Rossum <guido@python.org>
date Fri, 24 May 1996 20:48:31 +0000
parents 4ed09a3c3201
children 8721fafdb67a
line wrap: on
line diff
--- a/Python/sysmodule.c	Fri May 24 20:45:01 1996 +0000
+++ b/Python/sysmodule.c	Fri May 24 20:48:31 1996 +0000
@@ -183,8 +183,10 @@
 #endif
 
 #ifdef Py_TRACE_REFS
-extern PyObject *getobjects Py_PROTO((PyObject *, PyObject *));
+/* Defined in objects.c because it uses static globals if that file */
+extern PyObject *_Py_GetObjects Py_PROTO((PyObject *, PyObject *));
 #endif
+
 static struct methodlist sys_methods[] = {
 	{"exit",	sys_exit, 0},
 	{"getrefcount",	sys_getrefcount, 0},
@@ -192,7 +194,7 @@
 	{"getcounts",	sys_getcounts, 0},
 #endif
 #ifdef Py_TRACE_REFS
-	{"getobjects",	getobjects, 1},
+	{"getobjects",	_Py_GetObjects, 1},
 #endif
 #ifdef USE_MALLOPT
 	{"mdebug",	sys_mdebug, 0},