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
This commit is contained in:
Dimitry Andric 2011-12-17 22:16:27 +00:00
parent 97fbdc11ea
commit b41349deef
2 changed files with 2 additions and 0 deletions
usr.sbin/ndiscvt

@ -11,6 +11,7 @@ MAN= ndiscvt.8
MAN+= ndisgen.8
WARNS?= 4
NO_WCAST_ALIGN=
DPADD= ${LIBL}
LDADD= -ll

@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
int lineno = 1;
#define YY_NO_UNPUT
#define YY_NO_INPUT
int yylex(void);
void yyerror(const char *);