summaryrefslogtreecommitdiff
path: root/Parser/grammar1.c
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-22 19:20:54 +0000
committerThomas Wouters <thomas@python.org>2000-07-22 19:20:54 +0000
commit23c9e0024af99379ae517b016b874d57127e9a97 (patch)
tree8b9550548b9af667e20b8aaaae03ac54d38d6f70 /Parser/grammar1.c
parentf70ef4f8606f99744252a804229d53a4d97601c1 (diff)
downloadcpython-git-23c9e0024af99379ae517b016b874d57127e9a97.tar.gz
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.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/Parser/grammar1.c b/Parser/grammar1.c
index f9a24c00f7..16821f4639 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];