summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/hastd/Makefile1
-rw-r--r--usr.bin/colldef/Makefile2
-rw-r--r--usr.sbin/apmd/apmdlex.l1
-rw-r--r--usr.sbin/bluetooth/bthidd/lexer.l2
-rw-r--r--usr.sbin/bluetooth/hcsecd/lexer.l2
-rw-r--r--usr.sbin/config/lang.l1
-rw-r--r--usr.sbin/kbdcontrol/lex.l1
7 files changed, 7 insertions, 3 deletions
diff --git a/sbin/hastd/Makefile b/sbin/hastd/Makefile
index 6e3147d..7ff7131 100644
--- a/sbin/hastd/Makefile
+++ b/sbin/hastd/Makefile
@@ -25,6 +25,7 @@ CFLAGS+=-DINET6
.endif
# This is needed to have WARNS > 1.
CFLAGS+=-DYY_NO_UNPUT
+CFLAGS+=-DYY_NO_INPUT
DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF} ${LIBL} ${LIBPTHREAD} ${LIBUTIL}
LDADD= -lgeom -lbsdxml -lsbuf -ll -lpthread -lutil
diff --git a/usr.bin/colldef/Makefile b/usr.bin/colldef/Makefile
index 5f62bc5..c028e4a 100644
--- a/usr.bin/colldef/Makefile
+++ b/usr.bin/colldef/Makefile
@@ -4,7 +4,7 @@ PROG= colldef
SRCS= parse.y scan.l y.tab.h
LFLAGS= -8 -i
CFLAGS+=-I. -I${.CURDIR} -I${.CURDIR}/../../lib/libc/locale
-CFLAGS+=-DCOLLATE_DEBUG -DYY_NO_UNPUT
+CFLAGS+=-DCOLLATE_DEBUG -DYY_NO_UNPUT -DYY_NO_INPUT
LDADD= -ll
DPADD= ${LIBL}
diff --git a/usr.sbin/apmd/apmdlex.l b/usr.sbin/apmd/apmdlex.l
index 0f95574..dc7664d 100644
--- a/usr.sbin/apmd/apmdlex.l
+++ b/usr.sbin/apmd/apmdlex.l
@@ -38,6 +38,7 @@
/* We don't need it, avoid the warning. */
#define YY_NO_UNPUT
+#define YY_NO_INPUT
int lineno;
int first_time;
diff --git a/usr.sbin/bluetooth/bthidd/lexer.l b/usr.sbin/bluetooth/bthidd/lexer.l
index a25ae92..54821da 100644
--- a/usr.sbin/bluetooth/bthidd/lexer.l
+++ b/usr.sbin/bluetooth/bthidd/lexer.l
@@ -39,7 +39,7 @@
int yylex (void);
%}
-%option yylineno noyywrap nounput
+%option yylineno noyywrap nounput noinput
delim [ \t\n]
ws {delim}+
diff --git a/usr.sbin/bluetooth/hcsecd/lexer.l b/usr.sbin/bluetooth/hcsecd/lexer.l
index 2430d7e..578b42f 100644
--- a/usr.sbin/bluetooth/hcsecd/lexer.l
+++ b/usr.sbin/bluetooth/hcsecd/lexer.l
@@ -34,7 +34,7 @@
#include "parser.h"
%}
-%option yylineno noyywrap nounput
+%option yylineno noyywrap nounput noinput
delim [ \t\n]
ws {delim}+
diff --git a/usr.sbin/config/lang.l b/usr.sbin/config/lang.l
index 4eb94da..81f820f 100644
--- a/usr.sbin/config/lang.l
+++ b/usr.sbin/config/lang.l
@@ -39,6 +39,7 @@
#include "config.h"
#define YY_NO_UNPUT
+#define YY_NO_INPUT
/*
* Data for returning to previous files from include files.
diff --git a/usr.sbin/kbdcontrol/lex.l b/usr.sbin/kbdcontrol/lex.l
index 7d9fd53..e9ca2bc 100644
--- a/usr.sbin/kbdcontrol/lex.l
+++ b/usr.sbin/kbdcontrol/lex.l
@@ -32,6 +32,7 @@
#include "lex.h"
#define YY_NO_UNPUT
+#define YY_NO_INPUT
%}
OpenPOWER on IntegriCloud