diff options
author | Guido van Rossum <guido@python.org> | 1995-01-22 00:48:41 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-22 00:48:41 (GMT) |
commit | 62de97f29c90436f967c13050c93fbd1ac1ae88f (patch) | |
tree | b09549745ec5e6b50e3dc6eb143291b4c21cd8df /Modules/arraymodule.c | |
parent | 27fda289732e17c787ac939c6258917a2b4784c6 (diff) | |
download | cpython-62de97f29c90436f967c13050c93fbd1ac1ae88f.zip cpython-62de97f29c90436f967c13050c93fbd1ac1ae88f.tar.gz cpython-62de97f29c90436f967c13050c93fbd1ac1ae88f.tar.bz2 |
make routines static
Diffstat (limited to 'Modules/arraymodule.c')
-rw-r--r-- | Modules/arraymodule.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index 68070ae..6c377dc 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -234,7 +234,7 @@ static struct arraydescr descriptors[] = { /* If we ever allow items larger than double, we must change reverse()! */ -object * +static object * newarrayobject(size, descr) int size; struct arraydescr *descr; @@ -271,7 +271,7 @@ newarrayobject(size, descr) return (object *) op; } -int +static int getarraysize(op) object *op; { @@ -282,7 +282,7 @@ getarraysize(op) return ((arrayobject *)op) -> ob_size; } -object * +static object * getarrayitem(op, i) object *op; int i; @@ -331,7 +331,7 @@ ins1(self, where, v) return (*self->ob_descr->setitem)(self, where, v); } -int +static int insarrayitem(op, where, newitem) object *op; int where; @@ -344,7 +344,7 @@ insarrayitem(op, where, newitem) return ins1((arrayobject *)op, where, newitem); } -int +static int addarrayitem(op, newitem) object *op; object *newitem; |