]> The Tcpdump Group git mirrors - libpcap/commitdiff
There's no need to include <sys/socket.h> twice.
authorguy <guy>
Sat, 6 Apr 2002 23:58:24 +0000 (23:58 +0000)
committerguy <guy>
Sat, 6 Apr 2002 23:58:24 +0000 (23:58 +0000)
gencode.c

index 41988e1b6810fcb78b5a79a54a7ee4a1fb85bb4a..ecd7dbe26571d7bd05d99b3d017771a516533e13 100644 (file)
--- a/gencode.c
+++ b/gencode.c
@@ -21,7 +21,7 @@
  */
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.161 2001-12-18 09:10:49 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.160.2.1 2002-04-06 23:58:24 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -59,7 +59,6 @@ struct rtentry;
 #include <pcap-namedb.h>
 #ifdef INET6
 #include <netdb.h>
-#include <sys/socket.h>
 #endif /*INET6*/
 
 #define ETHERMTU       1500
@@ -3589,7 +3588,6 @@ gen_arth(code, a0, a1)
        sappend(a1->s, s0);
        sappend(a0->s, a1->s);
 
-       free_reg(a0->regno);
        free_reg(a1->regno);
 
        s0 = new_stmt(BPF_ST);