]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
make routines static
authorGuido van Rossum <guido@python.org>
Sun, 22 Jan 1995 00:48:41 +0000 (00:48 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 22 Jan 1995 00:48:41 +0000 (00:48 +0000)
Modules/arraymodule.c

index 68070ae826cd94eaf868ed860e3c2d7fbc91ebed..6c377dc4140ba06ef770f9ecff20d24fffa9cb92 100644 (file)
@@ -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;