aboutsummaryrefslogtreecommitdiff
path: root/tools/bison++/closure.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bison++/closure.cc')
-rw-r--r--tools/bison++/closure.cc11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/bison++/closure.cc b/tools/bison++/closure.cc
index 0a3a68446..bcaf5d836 100644
--- a/tools/bison++/closure.cc
+++ b/tools/bison++/closure.cc
@@ -54,6 +54,11 @@ Frees itemset, ruleset and internal data.
#include "new.h"
#include "gram.h"
+#ifdef DEBUG
+static void print_fderives(void);
+static void print_firsts(void);
+static void print_closure(int n);
+#endif
extern short **derives;
extern char **tags;
@@ -290,7 +295,7 @@ finalize_closure()
#ifdef DEBUG
-print_closure(int n)
+void print_closure(int n)
{
register short *isp;
@@ -301,7 +306,7 @@ print_closure(int n)
-print_firsts()
+void print_firsts(void)
{
register int i;
register int j;
@@ -323,7 +328,7 @@ print_firsts()
-print_fderives()
+void print_fderives(void)
{
register int i;
register int j;