@@ -17,37 +17,37 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
1717/* Interface to random parts in ceval.c */
1818
1919DL_IMPORT (PyObject * ) PyEval_CallObjectWithKeywords
20- Py_PROTO (( PyObject * , PyObject * , PyObject * ) );
20+ ( PyObject * , PyObject * , PyObject * );
2121
2222/* DLL-level Backwards compatibility: */
2323#undef PyEval_CallObject
24- DL_IMPORT (PyObject * ) PyEval_CallObject Py_PROTO (( PyObject * , PyObject * ) );
24+ DL_IMPORT (PyObject * ) PyEval_CallObject ( PyObject * , PyObject * );
2525
2626/* Inline this */
2727#define PyEval_CallObject (func ,arg ) \
2828 PyEval_CallObjectWithKeywords(func, arg, (PyObject *)NULL)
2929
3030#ifdef HAVE_STDARG_PROTOTYPES
31- DL_IMPORT (PyObject * ) PyEval_CallFunction Py_PROTO (( PyObject * obj , char * format , ...) );
32- DL_IMPORT (PyObject * ) PyEval_CallMethod Py_PROTO ( (PyObject * obj ,
33- char * methodname , char * format , ...) );
31+ DL_IMPORT (PyObject * ) PyEval_CallFunction ( PyObject * obj , char * format , ...);
32+ DL_IMPORT (PyObject * ) PyEval_CallMethod (PyObject * obj ,
33+ char * methodname , char * format , ...);
3434#else
3535/* Better to have no prototypes at all for varargs functions in this case */
3636DL_IMPORT (PyObject * ) PyEval_CallFunction ();
3737DL_IMPORT (PyObject * ) PyEval_CallMethod ();
3838#endif
3939
40- DL_IMPORT (PyObject * ) PyEval_GetBuiltins Py_PROTO (( void ) );
41- DL_IMPORT (PyObject * ) PyEval_GetGlobals Py_PROTO (( void ) );
42- DL_IMPORT (PyObject * ) PyEval_GetLocals Py_PROTO (( void ) );
43- DL_IMPORT (PyObject * ) PyEval_GetOwner Py_PROTO (( void ) );
44- DL_IMPORT (PyObject * ) PyEval_GetFrame Py_PROTO (( void ) );
45- DL_IMPORT (int ) PyEval_GetRestricted Py_PROTO (( void ) );
40+ DL_IMPORT (PyObject * ) PyEval_GetBuiltins ( void );
41+ DL_IMPORT (PyObject * ) PyEval_GetGlobals ( void );
42+ DL_IMPORT (PyObject * ) PyEval_GetLocals ( void );
43+ DL_IMPORT (PyObject * ) PyEval_GetOwner ( void );
44+ DL_IMPORT (PyObject * ) PyEval_GetFrame ( void );
45+ DL_IMPORT (int ) PyEval_GetRestricted ( void );
4646
47- DL_IMPORT (int ) Py_FlushLine Py_PROTO (( void ) );
47+ DL_IMPORT (int ) Py_FlushLine ( void );
4848
49- DL_IMPORT (int ) Py_AddPendingCall Py_PROTO (( int (* func ) Py_PROTO (( ANY * )) , ANY * arg ) );
50- DL_IMPORT (int ) Py_MakePendingCalls Py_PROTO (( void ) );
49+ DL_IMPORT (int ) Py_AddPendingCall ( int (* func )( ANY * ), ANY * arg );
50+ DL_IMPORT (int ) Py_MakePendingCalls ( void );
5151
5252
5353/* Interface for threads.
@@ -95,16 +95,16 @@ DL_IMPORT(int) Py_MakePendingCalls Py_PROTO((void));
9595 mechanism!
9696*/
9797
98- extern DL_IMPORT (PyThreadState * ) PyEval_SaveThread Py_PROTO (( void ) );
99- extern DL_IMPORT (void ) PyEval_RestoreThread Py_PROTO (( PyThreadState * ) );
98+ extern DL_IMPORT (PyThreadState * ) PyEval_SaveThread ( void );
99+ extern DL_IMPORT (void ) PyEval_RestoreThread ( PyThreadState * );
100100
101101#ifdef WITH_THREAD
102102
103- extern DL_IMPORT (void ) PyEval_InitThreads Py_PROTO (( void ) );
104- extern DL_IMPORT (void ) PyEval_AcquireLock Py_PROTO (( void ) );
105- extern DL_IMPORT (void ) PyEval_ReleaseLock Py_PROTO (( void ) );
106- extern DL_IMPORT (void ) PyEval_AcquireThread Py_PROTO (( PyThreadState * tstate ) );
107- extern DL_IMPORT (void ) PyEval_ReleaseThread Py_PROTO (( PyThreadState * tstate ) );
103+ extern DL_IMPORT (void ) PyEval_InitThreads ( void );
104+ extern DL_IMPORT (void ) PyEval_AcquireLock ( void );
105+ extern DL_IMPORT (void ) PyEval_ReleaseLock ( void );
106+ extern DL_IMPORT (void ) PyEval_AcquireThread ( PyThreadState * tstate );
107+ extern DL_IMPORT (void ) PyEval_ReleaseThread ( PyThreadState * tstate );
108108
109109#define Py_BEGIN_ALLOW_THREADS { \
110110 PyThreadState *_save; \
@@ -123,7 +123,7 @@ extern DL_IMPORT(void) PyEval_ReleaseThread Py_PROTO((PyThreadState *tstate));
123123
124124#endif /* !WITH_THREAD */
125125
126- extern DL_IMPORT (int ) _PyEval_SliceIndex Py_PROTO (( PyObject * , int * ) );
126+ extern DL_IMPORT (int ) _PyEval_SliceIndex ( PyObject * , int * );
127127
128128
129129#ifdef __cplusplus
0 commit comments