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:
parent
97fbdc11ea
commit
b41349deef
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 *);
|
||||
|
Loading…
x
Reference in New Issue
Block a user