summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ndiscvt/inf-token.l
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-12-17 22:16:27 +0000
committerdim <dim@FreeBSD.org>2011-12-17 22:16:27 +0000
commitbaf9f7519d1e1488271b64e3327b7798abb2444a (patch)
tree5eed726935132e465701656deaf68724a7ca4ecc /usr.sbin/ndiscvt/inf-token.l
parent7dcb1394db98f314138bce48e95ab541a1891e38 (diff)
downloadFreeBSD-src-baf9f7519d1e1488271b64e3327b7798abb2444a.zip
FreeBSD-src-baf9f7519d1e1488271b64e3327b7798abb2444a.tar.gz
Use NO_WCAST_ALIGN for usr.sbin/ndiscvt; because this is only built for
x86, any alignment warnings can be safely ignored. Define YY_NO_INPUT in usr.sbin/ndiscvt/inf-token.l, so no unused lex functions are defined. MFC after: 1 week
Diffstat (limited to 'usr.sbin/ndiscvt/inf-token.l')
-rw-r--r--usr.sbin/ndiscvt/inf-token.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/ndiscvt/inf-token.l b/usr.sbin/ndiscvt/inf-token.l
index cc1508b..1f290e1 100644
--- a/usr.sbin/ndiscvt/inf-token.l
+++ b/usr.sbin/ndiscvt/inf-token.l
@@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
int lineno = 1;
#define YY_NO_UNPUT
+#define YY_NO_INPUT
int yylex(void);
void yyerror(const char *);
OpenPOWER on IntegriCloud