Mercurial > cpython-lru_cache-weakref
diff Modules/arraymodule.c @ 2214:272229348fe2 legacy-trunk
make routines static
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sun, 22 Jan 1995 00:48:41 +0000 |
| parents | 448435bfeadc |
| children | 9d6e97d66670 |
line wrap: on
line diff
--- a/Modules/arraymodule.c Sun Jan 22 00:48:16 1995 +0000 +++ b/Modules/arraymodule.c Sun Jan 22 00:48:41 1995 +0000 @@ -234,7 +234,7 @@ /* 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 @@ return (object *) op; } -int +static int getarraysize(op) object *op; { @@ -282,7 +282,7 @@ return ((arrayobject *)op) -> ob_size; } -object * +static object * getarrayitem(op, i) object *op; int i; @@ -331,7 +331,7 @@ return (*self->ob_descr->setitem)(self, where, v); } -int +static int insarrayitem(op, where, newitem) object *op; int where; @@ -344,7 +344,7 @@ return ins1((arrayobject *)op, where, newitem); } -int +static int addarrayitem(op, newitem) object *op; object *newitem;
