]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Get rid of definitions of "packetp" and "snapend" outside
authorguy <guy>
Fri, 8 Jun 2001 04:48:23 +0000 (04:48 +0000)
committerguy <guy>
Fri, 8 Jun 2001 04:48:23 +0000 (04:48 +0000)
"print-ether.c" - the one in "print-ether.c" is sufficient.

print-cip.c
print-sll.c

index a6467136a253ca875e6f428986ca3fcb4806d365..f3afd3080de18ff27fcc5a77c1d6aa3a627a785c 100644 (file)
@@ -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[] = {
index cd0596c30397312395474882f200e1bb08e7952c..d8661a9e0f89c05429141aa356e1b42f74069874 100644 (file)
@@ -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)
 {