Latest flex requires yywrap() function to avoid -ll.
This commit is contained in:
parent
406d45e059
commit
8ef65b13d1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2358
@ -22,7 +22,7 @@
|
||||
|
||||
#ifndef lint
|
||||
static char rcsid[] =
|
||||
"@(#) $Header: tcplex.l,v 1.26 92/02/14 15:16:35 mccanne Exp $ (LBL)";
|
||||
"@(#) $Header: /home/ncvs/src/usr.sbin/tcpdump/tcpdump/tcplex.l,v 1.1.1.1 1993/06/12 14:42:05 rgrimes Exp $ (LBL)";
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -136,11 +136,9 @@ lex_init(buf)
|
||||
{
|
||||
in_buffer = buf;
|
||||
}
|
||||
#ifndef FLEX_SCANNER
|
||||
int
|
||||
yywrap()
|
||||
/* so we don't need -ll */
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user