From 7b50febe28e54e076a9917164eeddec4bc7a170e Mon Sep 17 00:00:00 2001 From: guy Date: Sat, 23 Sep 2000 08:26:30 +0000 Subject: Add "tcp.h" and "udp.h" headers, to declare the TCP and UDP stuff needed by dissectors, and have dissectors include them rather than , , or , if they actually need that stuff. Remove all unnecessary includes of or files. --- print-cnfp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'print-cnfp.c') diff --git a/print-cnfp.c b/print-cnfp.c index 94194d05..cba4fc04 100644 --- a/print-cnfp.c +++ b/print-cnfp.c @@ -34,7 +34,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-cnfp.c,v 1.5 2000-05-15 00:37:34 assar Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-cnfp.c,v 1.6 2000-09-23 08:26:32 guy Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -47,7 +47,6 @@ static const char rcsid[] = #include #include -#include #include @@ -56,6 +55,8 @@ static const char rcsid[] = #include "interface.h" +#include "tcp.h" + struct nfhdr { u_int32_t ver_cnt; /* version [15], and # of records */ u_int32_t msys_uptime; -- cgit v1.2.1