]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Define reference count admin debug functions to return void.
authorGuido van Rossum <guido@python.org>
Mon, 12 Aug 1996 21:32:12 +0000 (21:32 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 12 Aug 1996 21:32:12 +0000 (21:32 +0000)
Objects/object.c

index 9d8a16bc89e02ba955305393c07f6e49a83dbd5e..9c99ea2d19ed6e148f4c5e54afdcbdcec910df3d 100644 (file)
@@ -517,6 +517,7 @@ object NoObject = {
 
 static object refchain = {&refchain, &refchain};
 
+void
 NEWREF(op)
        object *op;
 {
@@ -531,6 +532,7 @@ NEWREF(op)
 #endif
 }
 
+void
 UNREF(op)
        register object *op;
 {
@@ -556,6 +558,7 @@ UNREF(op)
 #endif
 }
 
+void
 DELREF(op)
        object *op;
 {
@@ -565,6 +568,7 @@ DELREF(op)
        (*dealloc)(op);
 }
 
+void
 _Py_PrintReferences(fp)
        FILE *fp;
 {