]> granicus.if.org Git - python/commitdiff
Make 2 module variables static. Assuming this is correct.
authorNeal Norwitz <nnorwitz@gmail.com>
Sat, 15 Feb 2003 15:07:17 +0000 (15:07 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sat, 15 Feb 2003 15:07:17 +0000 (15:07 +0000)
Modules/cPickle.c

index 3f3d82f1ff5672f7eda3b9ef0e843892b8c72a92..ad087a9f25759298edf9e975fb48f94d40e3253c 100644 (file)
@@ -120,10 +120,10 @@ static PyObject *extension_cache;
 static PyObject *two_tuple;
 
 /* object.__reduce__, the default reduce callable. */
-PyObject *object_reduce;
+static PyObject *object_reduce;
 
 /* copy_reg._better_reduce, the protocol 2 reduction function. */
-PyObject *better_reduce;
+static PyObject *better_reduce;
 
 static PyObject *__class___str, *__getinitargs___str, *__dict___str,
   *__getstate___str, *__setstate___str, *__name___str, *__reduce___str,