summaryrefslogtreecommitdiffstats
path: root/Modules/arraymodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-11-01 16:28:59 (GMT)
committerGuido van Rossum <guido@python.org>1993-11-01 16:28:59 (GMT)
commitb73cc04e625511f41c63b880b418338af70dc8bd (patch)
tree63cf9aafbb16fd57f988e88f217c27660dc66197 /Modules/arraymodule.c
parentc7a22703e71f6074818e4661b0bbb57bbd726af7 (diff)
downloadcpython-b73cc04e625511f41c63b880b418338af70dc8bd.zip
cpython-b73cc04e625511f41c63b880b418338af70dc8bd.tar.gz
cpython-b73cc04e625511f41c63b880b418338af70dc8bd.tar.bz2
* ceval.c, longobject.c, methodobject.c, listnode.c, arraymodule.c,
pythonrun.c: added static forward declarations * pythonrun.h, ceval.h, longobject.h, node.h: removed declarations of static routines
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r--Modules/arraymodule.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c
index 93c0735..00f2477 100644
--- a/Modules/arraymodule.c
+++ b/Modules/arraymodule.c
@@ -66,10 +66,11 @@ extern typeobject Arraytype;
#define is_arrayobject(op) ((op)->ob_type == &Arraytype)
+/* Forward */
extern object *newarrayobject PROTO((int, struct arraydescr *));
extern int getarraysize PROTO((object *));
extern object *getarrayitem PROTO((object *, int));
-extern int setarrayitem PROTO((object *, int, object *));
+static int setarrayitem PROTO((object *, int, object *));
extern int insarrayitem PROTO((object *, int, object *));
extern int addarrayitem PROTO((object *, object *));