]> granicus.if.org Git - python/commitdiff
make some things static
authorGuido van Rossum <guido@python.org>
Fri, 24 May 1996 20:45:01 +0000 (20:45 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 24 May 1996 20:45:01 +0000 (20:45 +0000)
Objects/complexobject.c
Objects/floatobject.c

index 82a779b26f1744b84d82986fd049f132eefab30e..d49c6d352f61e2f2159d574a35d13beb30a41129 100644 (file)
@@ -55,7 +55,7 @@ extern double pow PROTO((double, double));
 
 /* elementary operations on complex numbers */
 
-int c_error;
+static int c_error;
 static complex c_1 = {1., 0.};
 
 complex c_sum(a,b)
@@ -136,7 +136,7 @@ complex c_pow(a,b)
        return r;
 }
 
-complex c_powu(x, n)
+static complex c_powu(x, n)
        complex x;
        long n;
 {
@@ -152,7 +152,7 @@ complex c_powu(x, n)
        return r;
 }
 
-complex c_powi(x, n)
+static complex c_powi(x, n)
        complex x;
        long n;
 {
@@ -228,7 +228,7 @@ complex_dealloc(op)
 }
 
 
-void
+static void
 complex_buf_repr(buf, v)
        char *buf;
        complexobject *v;
index 60899c921ceafd9bb5575db942d003d7ab865ce6..f37a9bd8ddb9249a04fd15c3d60906adcbbde056 100644 (file)
@@ -316,7 +316,7 @@ float_divmod(v, w)
        return mkvalue("(dd)", div, mod);
 }
 
-double powu(x, n)
+static double powu(x, n)
        double x;
        long n;
 {
@@ -332,7 +332,7 @@ double powu(x, n)
        return r;
 }
 
-double powi(x, n)
+static double powi(x, n)
        double x;
        long n;
 {