diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/hastd/Makefile | 3 | ||||
-rw-r--r-- | sbin/hastd/token.l | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sbin/hastd/Makefile b/sbin/hastd/Makefile index 3c4eef1..d22e389 100644 --- a/sbin/hastd/Makefile +++ b/sbin/hastd/Makefile @@ -27,9 +27,6 @@ CFLAGS+=-DINET .if ${MK_INET6_SUPPORT} != "no" 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/sbin/hastd/token.l b/sbin/hastd/token.l index 0d15075..35889c2 100644 --- a/sbin/hastd/token.l +++ b/sbin/hastd/token.l @@ -44,6 +44,9 @@ int lineno; #define DP do { } while (0) %} +%option noinput +%option nounput + %% control { DP; return CONTROL; } pidfile { DP; return PIDFILE; } |