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/grammar1.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/grammar1.c')
-rw-r--r-- | Parser/grammar1.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Parser/grammar1.c b/Parser/grammar1.c index f9a24c0..16821f4 100644 --- a/Parser/grammar1.c +++ b/Parser/grammar1.c @@ -18,9 +18,7 @@ redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. /* Return the DFA for the given type */ dfa * -PyGrammar_FindDFA(g, type) - grammar *g; - register int type; +PyGrammar_FindDFA(grammar *g, register int type) { register dfa *d; #if 1 @@ -42,8 +40,7 @@ PyGrammar_FindDFA(g, type) } char * -PyGrammar_LabelRepr(lb) - label *lb; +PyGrammar_LabelRepr(label *lb) { static char buf[100]; |