summaryrefslogtreecommitdiffstats
path: root/Objects/complexobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-05-24 20:45:01 (GMT)
committerGuido van Rossum <guido@python.org>1996-05-24 20:45:01 (GMT)
commit363078afa4ef9a8f2fdd327a988ef883bb850eb3 (patch)
tree249152ae7f50000f64a4738f276a2e6ea92ff468 /Objects/complexobject.c
parent9ea917ebaa3135eb798617302c71093f179ab61b (diff)
downloadcpython-363078afa4ef9a8f2fdd327a988ef883bb850eb3.zip
cpython-363078afa4ef9a8f2fdd327a988ef883bb850eb3.tar.gz
cpython-363078afa4ef9a8f2fdd327a988ef883bb850eb3.tar.bz2
make some things static
Diffstat (limited to 'Objects/complexobject.c')
-rw-r--r--Objects/complexobject.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Objects/complexobject.c b/Objects/complexobject.c
index 82a779b..d49c6d3 100644
--- a/Objects/complexobject.c
+++ b/Objects/complexobject.c
@@ -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;