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/pythonrun.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/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 1d16db5..74dffae 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -38,18 +38,18 @@ extern char *Py_GetPath(); extern grammar _PyParser_Grammar; /* From graminit.c */ /* Forward */ -static void initmain Py_PROTO((void)); -static void initsite Py_PROTO((void)); -static PyObject *run_err_node Py_PROTO((node *n, char *filename, - PyObject *globals, PyObject *locals)); -static PyObject *run_node Py_PROTO((node *n, char *filename, - PyObject *globals, PyObject *locals)); -static PyObject *run_pyc_file Py_PROTO((FILE *fp, char *filename, - PyObject *globals, PyObject *locals)); -static void err_input Py_PROTO((perrdetail *)); -static void initsigs Py_PROTO((void)); -static void call_sys_exitfunc Py_PROTO((void)); -static void call_ll_exitfuncs Py_PROTO((void)); +static void initmain(void); +static void initsite(void); +static PyObject *run_err_node(node *n, char *filename, + PyObject *globals, PyObject *locals); +static PyObject *run_node(node *n, char *filename, + PyObject *globals, PyObject *locals); +static PyObject *run_pyc_file(FILE *fp, char *filename, + PyObject *globals, PyObject *locals); +static void err_input(perrdetail *); +static void initsigs(void); +static void call_sys_exitfunc(void); +static void call_ll_exitfuncs(void); #ifdef Py_TRACE_REFS int _Py_AskYesNo(char *prompt); @@ -163,7 +163,7 @@ Py_Initialize() } #ifdef COUNT_ALLOCS -extern void dump_counts Py_PROTO((void)); +extern void dump_counts(void); #endif /* Undo the effect of Py_Initialize(). @@ -1059,7 +1059,7 @@ static void (*exitfuncs[NEXITFUNCS])(); static int nexitfuncs = 0; int Py_AtExit(func) - void (*func) Py_PROTO((void)); + void (*func)(void); { if (nexitfuncs >= NEXITFUNCS) return -1; |