summaryrefslogtreecommitdiffstats
path: root/contrib/flex/misc.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-05-21 19:17:02 +0000
committerjkim <jkim@FreeBSD.org>2013-05-21 19:17:02 +0000
commitf35b94300055627286d77f0dd748057f5d98b5f0 (patch)
tree45ae45805b4cd1c1f3f6b1317cc45e1277e9eb25 /contrib/flex/misc.c
parentaf3aaf871a18c81e9986f6470064ec11a6d7ef1a (diff)
downloadFreeBSD-src-f35b94300055627286d77f0dd748057f5d98b5f0.zip
FreeBSD-src-f35b94300055627286d77f0dd748057f5d98b5f0.tar.gz
Reduce compiler warnings.
Diffstat (limited to 'contrib/flex/misc.c')
-rw-r--r--contrib/flex/misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/flex/misc.c b/contrib/flex/misc.c
index 5bc844f..f9cb377 100644
--- a/contrib/flex/misc.c
+++ b/contrib/flex/misc.c
@@ -113,6 +113,7 @@ void action_define (defname, value)
}
+#ifdef notdef
/** Append "m4_define([[defname]],[[value]])m4_dnl\n" to the running buffer.
* @param defname The macro name.
* @param value The macro value, can be NULL, which is the same as the empty string.
@@ -133,6 +134,7 @@ void action_m4_define (const char *defname, const char * value)
snprintf (buf, sizeof(buf), "m4_define([[%s]],[[%s]])m4_dnl\n", defname, value?value:"");
add_action (buf);
}
+#endif
/* Append "new_text" to the running buffer. */
void add_action (new_text)
OpenPOWER on IntegriCloud