summaryrefslogtreecommitdiffstats
path: root/Include/modsupport.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/modsupport.h')
-rw-r--r--Include/modsupport.h13
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);