Fix an old style function declaration warning.

svn path=/trunk/; revision=37278
This commit is contained in:
Jörg Mayer 2011-05-19 04:42:57 +00:00
parent 07265037dd
commit 1ac8e97ff8
1 changed files with 2 additions and 4 deletions

View File

@ -696,8 +696,7 @@ void FindFirstSets(struct lemon *lemp)
** can be computed later. ** can be computed later.
*/ */
PRIVATE struct state *getstate(struct lemon *); /* forward reference */ PRIVATE struct state *getstate(struct lemon *); /* forward reference */
void FindStates(lemp) void FindStates(struct lemon *lemp)
struct lemon *lemp;
{ {
struct symbol *sp; struct symbol *sp;
struct rule *rp; struct rule *rp;
@ -4158,8 +4157,7 @@ static int stateResortCompare(const void *a, const void *b){
** Renumber and resort states so that states with fewer choices ** Renumber and resort states so that states with fewer choices
** occur at the end. Except, keep state 0 as the first state. ** occur at the end. Except, keep state 0 as the first state.
*/ */
void ResortStates(lemp) void ResortStates(struct lemon *lemp)
struct lemon *lemp;
{ {
int i; int i;
struct state *stp; struct state *stp;