diff options
author | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-19 04:42:57 +0000 |
---|---|---|
committer | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-19 04:42:57 +0000 |
commit | ffd12c7dbaec9e15b9350a042721485a430bfa60 (patch) | |
tree | a1b50a5c4a171290af06154ecbff097f322696e8 /tools | |
parent | 199dc7bed53da51e9d4dd634bd1a17e1bfcd80da (diff) |
Fix an old style function declaration warning.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37278 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lemon/lemon.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/lemon/lemon.c b/tools/lemon/lemon.c index 78bcf3198f..0968212cde 100644 --- a/tools/lemon/lemon.c +++ b/tools/lemon/lemon.c @@ -696,8 +696,7 @@ void FindFirstSets(struct lemon *lemp) ** can be computed later. */ PRIVATE struct state *getstate(struct lemon *); /* forward reference */ -void FindStates(lemp) -struct lemon *lemp; +void FindStates(struct lemon *lemp) { struct symbol *sp; 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 ** occur at the end. Except, keep state 0 as the first state. */ -void ResortStates(lemp) -struct lemon *lemp; +void ResortStates(struct lemon *lemp) { int i; struct state *stp; |