diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-22 23:30:03 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-22 23:30:03 (GMT) |
commit | 5f37591a164672ec25c389e646a763d40403cd79 (patch) | |
tree | 752a11d1159668095eada90c066629b1f4f61500 /Include/modsupport.h | |
parent | 7889010731eec703eda68fb32b6805c65e3f1cbf (diff) | |
download | cpython-5f37591a164672ec25c389e646a763d40403cd79.zip cpython-5f37591a164672ec25c389e646a763d40403cd79.tar.gz cpython-5f37591a164672ec25c389e646a763d40403cd79.tar.bz2 |
ANSIfications: fix empty arglists, and remove the checks for
'HAVE_STDARG_PROTOTYPES' (consider it true, remove false branch)
Diffstat (limited to 'Include/modsupport.h')
-rw-r--r-- | Include/modsupport.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Include/modsupport.h b/Include/modsupport.h index c55b46b..75449f2 100644 --- a/Include/modsupport.h +++ b/Include/modsupport.h @@ -16,8 +16,6 @@ extern "C" { /* Module support interface */ -#ifdef HAVE_STDARG_PROTOTYPES - #include <stdarg.h> extern DL_IMPORT(int) PyArg_Parse(PyObject *, char *, ...); @@ -26,17 +24,6 @@ extern DL_IMPORT(int) PyArg_ParseTupleAndKeywords(PyObject *, PyObject *, char *, char **, ...); extern DL_IMPORT(PyObject *) Py_BuildValue(char *, ...); -#else - -#include <varargs.h> - -/* Better to have no prototypes at all for varargs functions in this case */ -extern DL_IMPORT(int) PyArg_Parse(); -extern DL_IMPORT(int) PyArg_ParseTuple(); -extern DL_IMPORT(PyObject *) Py_BuildValue(); - -#endif - extern DL_IMPORT(int) PyArg_VaParse(PyObject *, char *, va_list); extern DL_IMPORT(PyObject *) Py_VaBuildValue(char *, va_list); |