summaryrefslogtreecommitdiff
path: root/print-ripng.c
diff options
context:
space:
mode:
authorguy <guy>2000-09-23 08:26:30 +0000
committerguy <guy>2000-09-23 08:26:30 +0000
commit7b50febe28e54e076a9917164eeddec4bc7a170e (patch)
tree7a4ac443a00f2a7982234c9881c3706bb8e6e955 /print-ripng.c
parente89409254248af64db721ede4babbe9fd1753f6c (diff)
downloadtcpdump-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-ripng.c')
-rw-r--r--print-ripng.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/print-ripng.c b/print-ripng.c
index 5e87ff5e..bade766e 100644
--- a/print-ripng.c
+++ b/print-ripng.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-ripng.c,v 1.3 2000-01-09 21:34:19 fenner Exp $";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-ripng.c,v 1.4 2000-09-23 08:26:37 guy Exp $";
#endif
#ifdef HAVE_CONFIG_H
@@ -39,8 +39,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 <errno.h>
#include <stdio.h>