summaryrefslogtreecommitdiff
path: root/Modules/gcmodule.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-12-25 20:01:53 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2015-12-25 20:01:53 +0200
commit5c633fc25fc6f9beee3ccb9ebc06633d1c9a1bc3 (patch)
tree451f469d7131b79436a1a1017463cd8d7c1ddded /Modules/gcmodule.c
parentd1ba93f9a6a441ac31c5fd1890ce730b9e6d330d (diff)
downloadcpython-5c633fc25fc6f9beee3ccb9ebc06633d1c9a1bc3.tar.gz
Issue #25923: Added more const qualifiers to signatures of static and private functions.
Diffstat (limited to 'Modules/gcmodule.c')
-rw-r--r--Modules/gcmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c
index cb7222db89..0c6f4448f0 100644
--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -738,7 +738,7 @@ handle_weakrefs(PyGC_Head *unreachable, PyGC_Head *old)
}
static void
-debug_cycle(char *msg, PyObject *op)
+debug_cycle(const char *msg, PyObject *op)
{
PySys_FormatStderr("gc: %s <%s %p>\n",
msg, Py_TYPE(op)->tp_name, op);