diff options
author | Guido van Rossum <guido@python.org> | 1996-05-24 20:48:31 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-05-24 20:48:31 +0000 |
commit | ded690fc351ecaf0f72429107fa726a9916ab0f6 (patch) | |
tree | b6ca2ff8824904551be9dca89bc9c5e77a938002 /Python/sysmodule.c | |
parent | 363078afa4ef9a8f2fdd327a988ef883bb850eb3 (diff) | |
download | cpython-git-ded690fc351ecaf0f72429107fa726a9916ab0f6.tar.gz |
rename printrefs, getobjects to _Py_ prefix
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 17845f0619..17a785273e 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -183,8 +183,10 @@ sys_getcounts(self, args) #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 @@ static struct methodlist sys_methods[] = { {"getcounts", sys_getcounts, 0}, #endif #ifdef Py_TRACE_REFS - {"getobjects", getobjects, 1}, + {"getobjects", _Py_GetObjects, 1}, #endif #ifdef USE_MALLOPT {"mdebug", sys_mdebug, 0}, |