Latest flex requires yywrap() function to avoid -ll.

This commit is contained in:
Bruce Evans 1994-08-28 16:35:58 +00:00
parent 406d45e059
commit 8ef65b13d1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2358

View File

@ -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