summaryrefslogtreecommitdiffstats
path: root/Modules/cPickle.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-24 11:36:47 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-24 11:36:47 (GMT)
commit4789b3ae05d861376c7f5cb859bee043530a1e2d (patch)
tree0aa0670437a2fd3bd76ea166a8f8cd14a61d0a45 /Modules/cPickle.c
parent770e4042db8a1c277b5d9b678cf6045a7aa2bd33 (diff)
downloadcpython-4789b3ae05d861376c7f5cb859bee043530a1e2d.zip
cpython-4789b3ae05d861376c7f5cb859bee043530a1e2d.tar.gz
cpython-4789b3ae05d861376c7f5cb859bee043530a1e2d.tar.bz2
... and yet more ANSIfications...
Diffstat (limited to 'Modules/cPickle.c')
-rw-r--r--Modules/cPickle.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Modules/cPickle.c b/Modules/cPickle.c
index 40da49c..d6a03d3 100644
--- a/Modules/cPickle.c
+++ b/Modules/cPickle.c
@@ -134,9 +134,6 @@ static PyObject *__class___str, *__getinitargs___str, *__dict___str,
*read_str, *readline_str, *__main___str, *__basicnew___str,
*copy_reg_str, *dispatch_table_str, *safe_constructors_str, *empty_str;
-static int save();
-static int put2();
-
#ifndef PyList_SET_ITEM
#define PyList_SET_ITEM(op, i, v) (((PyListObject *)(op))->ob_item[i] = (v))
#endif
@@ -354,6 +351,10 @@ typedef struct Unpicklerobject {
staticforward PyTypeObject Unpicklertype;
+/* Forward decls that need the above structs */
+static int save(Picklerobject *, PyObject *, int);
+static int put2(Picklerobject *, PyObject *);
+
int
cPickle_PyMapping_HasKey(PyObject *o, PyObject *key) {
PyObject *v;