summaryrefslogtreecommitdiffstats
path: root/Parser/pgen.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2000-07-09 03:09:57 (GMT)
committerTim Peters <tim.peters@gmail.com>2000-07-09 03:09:57 (GMT)
commitdbd9ba6a6c19c3d06f5684b3384a934f740038db (patch)
tree3a2728dbc98c86a0af47d7692cb8bdd2ee41afca /Parser/pgen.c
parent4be47c0f76c349ee9c04b08ed122c8bd8190d2c5 (diff)
downloadcpython-dbd9ba6a6c19c3d06f5684b3384a934f740038db.zip
cpython-dbd9ba6a6c19c3d06f5684b3384a934f740038db.tar.gz
cpython-dbd9ba6a6c19c3d06f5684b3384a934f740038db.tar.bz2
Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.
Diffstat (limited to 'Parser/pgen.c')
-rw-r--r--Parser/pgen.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/Parser/pgen.c b/Parser/pgen.c
index 36279b0..e5d5d37 100644
--- a/Parser/pgen.c
+++ b/Parser/pgen.c
@@ -45,14 +45,14 @@ typedef struct _nfa {
} nfa;
/* Forward */
-static void compile_rhs Py_PROTO((labellist *ll,
- nfa *nf, node *n, int *pa, int *pb));
-static void compile_alt Py_PROTO((labellist *ll,
- nfa *nf, node *n, int *pa, int *pb));
-static void compile_item Py_PROTO((labellist *ll,
- nfa *nf, node *n, int *pa, int *pb));
-static void compile_atom Py_PROTO((labellist *ll,
- nfa *nf, node *n, int *pa, int *pb));
+static void compile_rhs(labellist *ll,
+ nfa *nf, node *n, int *pa, int *pb);
+static void compile_alt(labellist *ll,
+ nfa *nf, node *n, int *pa, int *pb);
+static void compile_item(labellist *ll,
+ nfa *nf, node *n, int *pa, int *pb);
+static void compile_atom(labellist *ll,
+ nfa *nf, node *n, int *pa, int *pb);
static int
addnfastate(nf)
@@ -111,7 +111,7 @@ typedef struct _nfagrammar {
} nfagrammar;
/* Forward */
-static void compile_rule Py_PROTO((nfagrammar *gr, node *n));
+static void compile_rule(nfagrammar *gr, node *n);
static nfagrammar *
newnfagrammar()
@@ -420,10 +420,10 @@ typedef struct _ss_dfa {
} ss_dfa;
/* Forward */
-static void printssdfa Py_PROTO((int xx_nstates, ss_state *xx_state, int nbits,
- labellist *ll, char *msg));
-static void simplify Py_PROTO((int xx_nstates, ss_state *xx_state));
-static void convert Py_PROTO((dfa *d, int xx_nstates, ss_state *xx_state));
+static void printssdfa(int xx_nstates, ss_state *xx_state, int nbits,
+ labellist *ll, char *msg);
+static void simplify(int xx_nstates, ss_state *xx_state);
+static void convert(dfa *d, int xx_nstates, ss_state *xx_state);
static void
makedfa(gr, nf, d)