From: guy Date: Fri, 8 Jun 2001 04:48:23 +0000 (+0000) Subject: Get rid of definitions of "packetp" and "snapend" outside X-Git-Tag: tcpdump-3.7.1~202 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/6e07bc747cfa438a48a738881479a07a3bd0d3b9 Get rid of definitions of "packetp" and "snapend" outside "print-ether.c" - the one in "print-ether.c" is sufficient. --- diff --git a/print-cip.c b/print-cip.c index a6467136..f3afd308 100644 --- a/print-cip.c +++ b/print-cip.c @@ -22,7 +22,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-cip.c,v 1.12 2001-03-19 03:58:10 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-cip.c,v 1.13 2001-06-08 04:48:23 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -47,9 +47,6 @@ static const char rcsid[] = #include "ethertype.h" #include "ether.h" -const u_char *packetp; -const u_char *snapend; - #define RFC1483LLC_LEN 8 static unsigned char rfcllc[] = { diff --git a/print-sll.c b/print-sll.c index cd0596c3..d8661a9e 100644 --- a/print-sll.c +++ b/print-sll.c @@ -20,7 +20,7 @@ */ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-sll.c,v 1.4 2001-01-15 00:33:59 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-sll.c,v 1.5 2001-06-08 04:48:23 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -47,9 +47,6 @@ struct rtentry; #include "ether.h" #include "sll.h" -const u_char *packetp; -const u_char *snapend; - static inline void sll_print(register const struct sll_header *sllp, u_int length) {