From 8b51d227f67f2c91cf19c1d2ad18b65a6460b2a2 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 19 Aug 1996 22:04:54 +0000 Subject: Add prototypes for c_sum() etc. --- Include/complexobject.h | 12 ++++++------ 1 file 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 */ -- cgit v0.12