From 03862177ea6a26f0792f47e736f2457b4fc7c898 Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 21 Jul 2004 22:00:10 +0000 Subject: The first argument to "ascii_print_with_offset()", "ascii_print()", "hex_print_with_offset()", and "hex_print()" is a string used as a tag; make it a "const char *", not a "const u_char *". Copy the declaration of "strsep()" from "interface.h" to "netdissect.h", and get rid of the include of "interface.h" from "print-esp.c", as it includes "netdissect.h". Update the "ND_TTEST2()" macro to do the same overflow checks that "TTEST2()" now does. --- print-esp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'print-esp.c') diff --git a/print-esp.c b/print-esp.c index 43bdfa79..6855a8c7 100644 --- a/print-esp.c +++ b/print-esp.c @@ -23,7 +23,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-esp.c,v 1.54 2004-07-21 21:42:32 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-esp.c,v 1.55 2004-07-21 22:00:11 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -50,7 +50,6 @@ static const char rcsid[] _U_ = #include "ip6.h" #endif -#include "interface.h" #include "netdissect.h" #include "addrtoname.h" #include "extract.h" -- cgit v1.2.1