summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-07-31 22:07:49 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-07-31 22:07:49 (GMT)
commitb88b0bce2a0733a53218b23f6ddfcd7626f1f4f1 (patch)
treef81221f5188d8b839d4f4004a1cd6bec8059f209 /Mac
parentcbfe3c8955e4f726fd88f6f97195c583de9d26c7 (diff)
downloadcpython-b88b0bce2a0733a53218b23f6ddfcd7626f1f4f1.zip
cpython-b88b0bce2a0733a53218b23f6ddfcd7626f1f4f1.tar.gz
cpython-b88b0bce2a0733a53218b23f6ddfcd7626f1f4f1.tar.bz2
ANSIfied.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Modules/calldll.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Mac/Modules/calldll.c b/Mac/Modules/calldll.c
index dc4d2b0..e8d4736 100644
--- a/Mac/Modules/calldll.c
+++ b/Mac/Modules/calldll.c
@@ -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 */