]> granicus.if.org Git - python/commitdiff
... and yet more ANSIfications...
authorThomas Wouters <thomas@python.org>
Mon, 24 Jul 2000 11:36:47 +0000 (11:36 +0000)
committerThomas Wouters <thomas@python.org>
Mon, 24 Jul 2000 11:36:47 +0000 (11:36 +0000)
Modules/cPickle.c

index 40da49c0254188c47700e7d873ffe6f053c5ebac..d6a03d3b51d7fc5187de9850100088f0ad5a9721 100644 (file)
@@ -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;