summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-19 22:04:54 (GMT)
committerGuido van Rossum <guido@python.org>1996-08-19 22:04:54 (GMT)
commit8b51d227f67f2c91cf19c1d2ad18b65a6460b2a2 (patch)
tree440a05ce4d0dbe933e8f9df22b670d9babb4908e
parent8f3032da10a14c95c13457aa44bae7d02e2271a3 (diff)
downloadcpython-8b51d227f67f2c91cf19c1d2ad18b65a6460b2a2.zip
cpython-8b51d227f67f2c91cf19c1d2ad18b65a6460b2a2.tar.gz
cpython-8b51d227f67f2c91cf19c1d2ad18b65a6460b2a2.tar.bz2
Add prototypes for c_sum() etc.
-rw-r--r--Include/complexobject.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Include/complexobject.h b/Include/complexobject.h
index 8d74c89..f5d8f43 100644
--- a/Include/complexobject.h
+++ b/Include/complexobject.h
@@ -20,12 +20,12 @@ typedef struct {
#define c_quot _Py_c_quot
#define c_pow _Py_c_pow
-extern Py_complex c_sum();
-extern Py_complex c_diff();
-extern Py_complex c_neg();
-extern Py_complex c_prod();
-extern Py_complex c_quot();
-extern Py_complex c_pow();
+extern Py_complex c_sum Py_PROTO((Py_complex, Py_complex));
+extern Py_complex c_diff Py_PROTO((Py_complex, Py_complex));
+extern Py_complex c_neg Py_PROTO((Py_complex));
+extern Py_complex c_prod Py_PROTO((Py_complex, Py_complex));
+extern Py_complex c_quot Py_PROTO((Py_complex, Py_complex));
+extern Py_complex c_pow Py_PROTO((Py_complex, Py_complex));
/* Complex object interface */