aboutsummaryrefslogtreecommitdiffstats
path: root/nametoaddr.c
diff options
context:
space:
mode:
authorguy <guy>2000-10-10 04:53:54 +0000
committerguy <guy>2000-10-10 04:53:54 +0000
commitbcb41391ecff6b70ab116a90250c8aed516b7bfc (patch)
tree8b997dcb915fb98c7e3ac9fb75ad78b97713a5c2 /nametoaddr.c
parentfd7f1bf605581f02c83654ccb9224931fe93a795 (diff)
Eliminate a warning with some compilers.
Diffstat (limited to 'nametoaddr.c')
-rw-r--r--nametoaddr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nametoaddr.c b/nametoaddr.c
index cca3e2e..0aa8de9 100644
--- a/nametoaddr.c
+++ b/nametoaddr.c
@@ -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");