]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add prototypes for c_sum() etc.
authorGuido van Rossum <guido@python.org>
Mon, 19 Aug 1996 22:04:54 +0000 (22:04 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 19 Aug 1996 22:04:54 +0000 (22:04 +0000)
Include/complexobject.h

index 8d74c89ab2532797d7117fa09f488f241bc9a07e..f5d8f43c7ae053e1500bb23f778a6a08085055ff 100644 (file)
@@ -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 */