]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Remove some includes of <sys/socket.h>, and add includes of
authorguy <guy>
Tue, 10 Oct 2000 05:05:07 +0000 (05:05 +0000)
committerguy <guy>
Tue, 10 Oct 2000 05:05:07 +0000 (05:05 +0000)
<netinet/in.h> to declare "ntoh[sl]" and "hton[sl]".

print-arp.c
print-domain.c
print-udp.c
print-vrrp.c

index 306801efb2525a20325e4dbe318d39f439d29c96..3ba8a7e6c598388454e92ed4abd1487f0f188824 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-arp.c,v 1.48 2000-10-09 03:24:25 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-arp.c,v 1.49 2000-10-10 05:05:07 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -30,7 +30,8 @@ static const char rcsid[] =
 
 #include <sys/param.h>
 #include <sys/time.h>
-#include <sys/socket.h>
+
+#include <netinet/in.h>
 
 #include <stdio.h>
 #include <string.h>
index b42e09219cb137716c77fe19b5b658a42ebaef7b..98eb3a5e313dc249133bcc4a30966b85faf49fbb 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-domain.c,v 1.54 2000-10-06 04:23:11 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-domain.c,v 1.55 2000-10-10 05:05:07 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -30,7 +30,6 @@ static const char rcsid[] =
 
 #include <sys/param.h>
 #include <sys/time.h>
-#include <sys/socket.h>
 
 #include <netinet/in.h>
 
index c9627b4b7fa98f94c70925a21ec20604bf1ed872..f3a535b37a95c0c271a22c672b51a17020dbcbfa 100644 (file)
@@ -21,7 +21,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-udp.c,v 1.85 2000-10-07 05:53:14 itojun Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-udp.c,v 1.86 2000-10-10 05:05:07 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -30,7 +30,6 @@ static const char rcsid[] =
 
 #include <sys/param.h>
 #include <sys/time.h>
-#include <sys/socket.h>
 
 #include <netinet/in.h>
 
index fefb2d9afc8975f1276bcc90f430486ecacee6c4..3c0696140b36e7ba4f6df5bf8feb59e5f9c43e2f 100644 (file)
@@ -25,7 +25,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-vrrp.c,v 1.2 2000-07-29 06:22:17 assar Exp $";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-vrrp.c,v 1.3 2000-10-10 05:05:08 guy Exp $";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -36,6 +36,8 @@ static const char rcsid[] =
 #include <stdlib.h>
 #include <unistd.h>
 
+#include <netinet/in.h>
+
 #include "interface.h"
 #include "extract.h"
 #include "addrtoname.h"