diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-22 19:20:54 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-22 19:20:54 (GMT) |
commit | 23c9e0024af99379ae517b016b874d57127e9a97 (patch) | |
tree | 8b9550548b9af667e20b8aaaae03ac54d38d6f70 /Parser/acceler.c | |
parent | f70ef4f8606f99744252a804229d53a4d97601c1 (diff) | |
download | cpython-23c9e0024af99379ae517b016b874d57127e9a97.zip cpython-23c9e0024af99379ae517b016b874d57127e9a97.tar.gz cpython-23c9e0024af99379ae517b016b874d57127e9a97.tar.bz2 |
Mass ANSIfication.
Work around intrcheck.c's desire to pass 'PyErr_CheckSignals' to
'Py_AddPendingCall' by providing a (static) wrapper function that has the
right number of arguments.
Diffstat (limited to 'Parser/acceler.c')
-rw-r--r-- | Parser/acceler.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/Parser/acceler.c b/Parser/acceler.c index 177bb49..cd8e444 100644 --- a/Parser/acceler.c +++ b/Parser/acceler.c @@ -30,8 +30,7 @@ static void fixdfa(grammar *, dfa *); static void fixstate(grammar *, state *); void -PyGrammar_AddAccelerators(g) - grammar *g; +PyGrammar_AddAccelerators(grammar *g) { dfa *d; int i; @@ -48,8 +47,7 @@ PyGrammar_AddAccelerators(g) } void -PyGrammar_RemoveAccelerators(g) - grammar *g; +PyGrammar_RemoveAccelerators(grammar *g) { dfa *d; int i; @@ -68,9 +66,7 @@ PyGrammar_RemoveAccelerators(g) } static void -fixdfa(g, d) - grammar *g; - dfa *d; +fixdfa(grammar *g, dfa *d) { state *s; int j; @@ -80,9 +76,7 @@ fixdfa(g, d) } static void -fixstate(g, s) - grammar *g; - state *s; +fixstate(grammar *g, state *s) { arc *a; int k; |