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/ceval.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/ceval.h')
-rw-r--r-- | Include/ceval.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Include/ceval.h b/Include/ceval.h index 5258d57..9468451 100644 --- a/Include/ceval.h +++ b/Include/ceval.h @@ -27,15 +27,9 @@ DL_IMPORT(PyObject *) PyEval_CallObject(PyObject *, PyObject *); #define PyEval_CallObject(func,arg) \ PyEval_CallObjectWithKeywords(func, arg, (PyObject *)NULL) -#ifdef HAVE_STDARG_PROTOTYPES DL_IMPORT(PyObject *) PyEval_CallFunction(PyObject *obj, char *format, ...); DL_IMPORT(PyObject *) PyEval_CallMethod(PyObject *obj, char *methodname, char *format, ...); -#else -/* Better to have no prototypes at all for varargs functions in this case */ -DL_IMPORT(PyObject *) PyEval_CallFunction(); -DL_IMPORT(PyObject *) PyEval_CallMethod(); -#endif DL_IMPORT(PyObject *) PyEval_GetBuiltins(void); DL_IMPORT(PyObject *) PyEval_GetGlobals(void); |