summaryrefslogtreecommitdiffstats
path: root/lib/libpcap/grammar.y
diff options
context:
space:
mode:
authorolah <olah@FreeBSD.org>1995-02-21 10:46:34 +0000
committerolah <olah@FreeBSD.org>1995-02-21 10:46:34 +0000
commitf0c34d41d10477b1ce7c5b8834b8cefc27cb8e08 (patch)
tree0bd0d988a022e97c37bad26f55f2ecaa156c0c07 /lib/libpcap/grammar.y
parent5c36476ca09554f2bc768d78a27de52f3c2d8cbc (diff)
downloadFreeBSD-src-f0c34d41d10477b1ce7c5b8834b8cefc27cb8e08.zip
FreeBSD-src-f0c34d41d10477b1ce7c5b8834b8cefc27cb8e08.tar.gz
Fix bogus Makefile which resulted in incompatible shared and static
libs. Reviewed by: Michael Reifenberger <root@rz-wb.fh-sw.de>, roberto@blaise.ibp.fr (Ollivier ROBERT)
Diffstat (limited to 'lib/libpcap/grammar.y')
-rw-r--r--lib/libpcap/grammar.y4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libpcap/grammar.y b/lib/libpcap/grammar.y
index 55fa198..4c17bdc 100644
--- a/lib/libpcap/grammar.y
+++ b/lib/libpcap/grammar.y
@@ -22,7 +22,7 @@
*/
#ifndef lint
static char rcsid[] =
- "@(#) $Header: grammar.y,v 1.39 94/06/14 20:09:25 leres Exp $ (LBL)";
+ "@(#) $Header: /home/ncvs/src/lib/libpcap/grammar.y,v 1.1.1.1 1995/01/20 04:13:06 jkh Exp $ (LBL)";
#endif
#include <sys/types.h>
@@ -41,6 +41,8 @@ static char rcsid[] =
#include "gencode.h"
+#define yylval pcap_lval
+
#define QSET(q, p, d, a) (q).proto = (p),\
(q).dir = (d),\
(q).addr = (a)
OpenPOWER on IntegriCloud