Mercurial > cpython-lru_cache-weakref
diff Objects/complexobject.c @ 3608:8573e65fa948 legacy-trunk
make some things static
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 24 May 1996 20:45:01 +0000 |
| parents | 2be0bde3a071 |
| children | d0988318b756 |
line wrap: on
line diff
--- a/Objects/complexobject.c Fri May 24 20:44:12 1996 +0000 +++ b/Objects/complexobject.c Fri May 24 20:45:01 1996 +0000 @@ -55,7 +55,7 @@ /* 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 @@ return r; } -complex c_powu(x, n) +static complex c_powu(x, n) complex x; long n; { @@ -152,7 +152,7 @@ return r; } -complex c_powi(x, n) +static complex c_powi(x, n) complex x; long n; { @@ -228,7 +228,7 @@ } -void +static void complex_buf_repr(buf, v) char *buf; complexobject *v;
