summaryrefslogtreecommitdiffstats
path: root/usr.sbin/apmd/apmdlex.l
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/apmd/apmdlex.l')
-rw-r--r--usr.sbin/apmd/apmdlex.l3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/apmd/apmdlex.l b/usr.sbin/apmd/apmdlex.l
index 0e5cff3..0f95574 100644
--- a/usr.sbin/apmd/apmdlex.l
+++ b/usr.sbin/apmd/apmdlex.l
@@ -36,6 +36,9 @@
#include "apmd.h"
#include "y.tab.h"
+/* We don't need it, avoid the warning. */
+#define YY_NO_UNPUT
+
int lineno;
int first_time;
%}
OpenPOWER on IntegriCloud