diff options
author | guy <guy> | 2000-09-23 08:26:30 +0000 |
---|---|---|
committer | guy <guy> | 2000-09-23 08:26:30 +0000 |
commit | 7b50febe28e54e076a9917164eeddec4bc7a170e (patch) | |
tree | 7a4ac443a00f2a7982234c9881c3706bb8e6e955 /print-lane.c | |
parent | e89409254248af64db721ede4babbe9fd1753f6c (diff) | |
download | tcpdump-7b50febe28e54e076a9917164eeddec4bc7a170e.tar.gz |
Add "tcp.h" and "udp.h" headers, to declare the TCP and UDP stuff needed
by dissectors, and have dissectors include them rather than
<netinet/udp.h>, <netinet/udp_var.h>, or <netinet/tcp.h>, if they
actually need that stuff.
Remove all unnecessary includes of <netinet/udp*.h> or <netinet/tcp*.h>
files.
Diffstat (limited to 'print-lane.c')
-rw-r--r-- | print-lane.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/print-lane.c b/print-lane.c index be7849c4..5af32182 100644 --- a/print-lane.c +++ b/print-lane.c @@ -22,7 +22,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-lane.c,v 1.5 2000-09-23 08:03:37 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-lane.c,v 1.6 2000-09-23 08:26:36 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -40,9 +40,6 @@ static const char rcsid[] = #include <netinet/in_systm.h> #include <netinet/ip.h> #include <netinet/ip_var.h> -#include <netinet/udp.h> -#include <netinet/udp_var.h> -#include <netinet/tcp.h> #include <stdio.h> #include <pcap.h> |