]> The Tcpdump Group git mirrors - libpcap/commitdiff
Eliminate a warning with some compilers.
authorguy <guy>
Tue, 10 Oct 2000 04:53:54 +0000 (04:53 +0000)
committerguy <guy>
Tue, 10 Oct 2000 04:53:54 +0000 (04:53 +0000)
nametoaddr.c

index cca3e2e97839198e04d84a297701e4c2b81de49d..0aa8de9d64f526314bde8c42dea67bfff2fe1bfe 100644 (file)
@@ -24,7 +24,7 @@
 
 #ifndef lint
 static const char rcsid[] =
-    "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.54 2000-07-11 00:37:05 assar Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.55 2000-10-10 04:53:54 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -329,7 +329,7 @@ pcap_ether_hostton(const char *name)
        register struct pcap_etherent *ep;
        register u_char *ap;
        static FILE *fp = NULL;
-       static init = 0;
+       static int init = 0;
 
        if (!init) {
                fp = fopen(PCAP_ETHERS_FILE, "r");