aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2011-05-19 04:42:57 +0000
committerJörg Mayer <jmayer@loplof.de>2011-05-19 04:42:57 +0000
commit1ac8e97ff8c4f913b4285180ea9f1d38b724afe6 (patch)
treea1b50a5c4a171290af06154ecbff097f322696e8 /tools
parent07265037dd84e6cb28725e8f0ad10c76b982bf50 (diff)
Fix an old style function declaration warning.
svn path=/trunk/; revision=37278
Diffstat (limited to 'tools')
-rw-r--r--tools/lemon/lemon.c6
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;