mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
Nuke all remaining occurrences of Py_PROTO and Py_FPROTO.
This commit is contained in:
parent
4be47c0f76
commit
dbd9ba6a6c
53 changed files with 295 additions and 303 deletions
|
@ -33,7 +33,7 @@ extern int Py_DebugFlag;
|
|||
|
||||
/* STACK DATA TYPE */
|
||||
|
||||
static void s_reset Py_PROTO((stack *));
|
||||
static void s_reset(stack *);
|
||||
|
||||
static void
|
||||
s_reset(s)
|
||||
|
@ -44,7 +44,7 @@ s_reset(s)
|
|||
|
||||
#define s_empty(s) ((s)->s_top == &(s)->s_base[MAXSTACK])
|
||||
|
||||
static int s_push Py_PROTO((stack *, dfa *, node *));
|
||||
static int s_push(stack *, dfa *, node *);
|
||||
|
||||
static int
|
||||
s_push(s, d, parent)
|
||||
|
@ -66,7 +66,7 @@ s_push(s, d, parent)
|
|||
|
||||
#ifdef Py_DEBUG
|
||||
|
||||
static void s_pop Py_PROTO((stack *));
|
||||
static void s_pop(stack *);
|
||||
|
||||
static void
|
||||
s_pop(s)
|
||||
|
@ -122,7 +122,7 @@ PyParser_Delete(ps)
|
|||
|
||||
/* PARSER STACK OPERATIONS */
|
||||
|
||||
static int shift Py_PROTO((stack *, int, char *, int, int));
|
||||
static int shift(stack *, int, char *, int, int);
|
||||
|
||||
static int
|
||||
shift(s, type, str, newstate, lineno)
|
||||
|
@ -141,7 +141,7 @@ shift(s, type, str, newstate, lineno)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int push Py_PROTO((stack *, int, dfa *, int, int));
|
||||
static int push(stack *, int, dfa *, int, int);
|
||||
|
||||
static int
|
||||
push(s, type, d, newstate, lineno)
|
||||
|
@ -165,7 +165,7 @@ push(s, type, d, newstate, lineno)
|
|||
|
||||
/* PARSER PROPER */
|
||||
|
||||
static int classify Py_PROTO((grammar *, int, char *));
|
||||
static int classify(grammar *, int, char *);
|
||||
|
||||
static int
|
||||
classify(g, type, str)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue