summaryrefslogtreecommitdiffstats
path: root/grammar
diff options
context:
space:
mode:
Diffstat (limited to 'grammar')
-rw-r--r--grammar/rainerscript.c2
-rw-r--r--grammar/rainerscript.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/grammar/rainerscript.c b/grammar/rainerscript.c
index e3e7cb32..0f0b469c 100644
--- a/grammar/rainerscript.c
+++ b/grammar/rainerscript.c
@@ -2450,7 +2450,7 @@ cnfstmtNew(unsigned s_type)
void cnfstmtDestructLst(struct cnfstmt *root);
/* delete a single stmt */
-void
+static void
cnfstmtDestruct(struct cnfstmt *stmt)
{
switch(stmt->nodetype) {
diff --git a/grammar/rainerscript.h b/grammar/rainerscript.h
index 31b2eb93..d00cc4c3 100644
--- a/grammar/rainerscript.h
+++ b/grammar/rainerscript.h
@@ -331,7 +331,7 @@ struct cnfstmt * cnfstmtNewSet(char *var, struct cnfexpr *expr);
struct cnfstmt * cnfstmtNewUnset(char *var);
struct cnfstmt * cnfstmtNewCall(es_str_t *name);
struct cnfstmt * cnfstmtNewContinue(void);
-void cnfstmtDestruct(struct cnfstmt *root);
+void cnfstmtDestructLst(struct cnfstmt *root);
void cnfstmtOptimize(struct cnfstmt *root);
struct cnfarray* cnfarrayNew(es_str_t *val);
struct cnfarray* cnfarrayDup(struct cnfarray *old);