]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
ANSIfied.
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 31 Jul 2000 22:07:49 +0000 (22:07 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 31 Jul 2000 22:07:49 +0000 (22:07 +0000)
Mac/Modules/calldll.c

index dc4d2b0896626597ea4b4255f024b835f83b2efd..e8d4736ee039459695990de9598f72bbf19f541e 100644 (file)
@@ -45,8 +45,8 @@ PERFORMANCE OF THIS SOFTWARE.
 #include <CodeFragments.h>
 
 /* Prototypes for routines not in any include file (shame, shame) */
-extern PyObject *ResObj_New Py_PROTO((Handle));
-extern int ResObj_Convert Py_PROTO((PyObject *, Handle *));
+extern PyObject *ResObj_New(Handle);
+extern int ResObj_Convert(PyObject *, Handle *);
 
 static PyObject *ErrorObject;
 
@@ -61,7 +61,7 @@ static PyObject *ErrorObject;
 /* Prototypes we use for routines and arguments */
 
 typedef long anything;
-typedef anything (*anyroutine) Py_PROTO((...));
+typedef anything (*anyroutine)(...);
 
 /* Other constants */
 #define MAXNAME 31     /* Maximum size of names, for printing only */
@@ -76,9 +76,9 @@ typedef anything (*anyroutine) Py_PROTO((...));
 **
 ** Hence, optional return values are also implementable.
 */
-typedef anything (*py2c_converter) Py_PROTO((PyObject *));
-typedef PyObject *(*c2py_converter) Py_PROTO((anything));
-typedef PyObject *(*rv2py_converter) Py_PROTO((anything));
+typedef anything (*py2c_converter)(PyObject *);
+typedef PyObject *(*c2py_converter)(anything);
+typedef PyObject *(*rv2py_converter)(anything);
 
 
 /* Dummy routine for arguments that are output-only */