diff options
author | Tim Peters <tim.peters@gmail.com> | 2000-07-09 03:09:57 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2000-07-09 03:09:57 (GMT) |
commit | dbd9ba6a6c19c3d06f5684b3384a934f740038db (patch) | |
tree | 3a2728dbc98c86a0af47d7692cb8bdd2ee41afca /Python/modsupport.c | |
parent | 4be47c0f76c349ee9c04b08ed122c8bd8190d2c5 (diff) | |
download | cpython-dbd9ba6a6c19c3d06f5684b3384a934f740038db.zip cpython-dbd9ba6a6c19c3d06f5684b3384a934f740038db.tar.gz cpython-dbd9ba6a6c19c3d06f5684b3384a934f740038db.tar.bz2 |
Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.
Diffstat (limited to 'Python/modsupport.c')
-rw-r--r-- | Python/modsupport.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Python/modsupport.c b/Python/modsupport.c index 5cd2870..4a4dc1b 100644 --- a/Python/modsupport.c +++ b/Python/modsupport.c @@ -84,7 +84,7 @@ Py_InitModule4(name, methods, doc, passthrough, module_api_version) /* Helper for mkvalue() to scan the length of a format */ -static int countformat Py_PROTO((char *format, int endchar)); +static int countformat(char *format, int endchar); static int countformat(format, endchar) char *format; int endchar; @@ -130,10 +130,10 @@ static int countformat(format, endchar) /* Generic function to create a value -- the inverse of getargs() */ /* After an original idea and first implementation by Steven Miale */ -static PyObject *do_mktuple Py_PROTO((char**, va_list *, int, int)); -static PyObject *do_mklist Py_PROTO((char**, va_list *, int, int)); -static PyObject *do_mkdict Py_PROTO((char**, va_list *, int, int)); -static PyObject *do_mkvalue Py_PROTO((char**, va_list *)); +static PyObject *do_mktuple(char**, va_list *, int, int); +static PyObject *do_mklist(char**, va_list *, int, int); +static PyObject *do_mkdict(char**, va_list *, int, int); +static PyObject *do_mkvalue(char**, va_list *); static PyObject * @@ -358,7 +358,7 @@ do_mkvalue(p_format, p_va) case 'S': case 'O': if (**p_format == '&') { - typedef PyObject *(*converter) Py_PROTO((void *)); + typedef PyObject *(*converter)(void *); converter func = va_arg(*p_va, converter); void *arg = va_arg(*p_va, void *); ++*p_format; |