summaryrefslogtreecommitdiffstats
path: root/hunt/hunt
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>2000-01-21 17:08:33 +0000
committermycroft <mycroft@NetBSD.org>2000-01-21 17:08:33 +0000
commit96d2160d9c3e88d11f2fdba53cf69a0d14135860 (patch)
tree4dcd8083f397974401aeff956848afd326bb3e98 /hunt/hunt
parent0ce6e8b366e106c4d2402a9d205a5efd6234eba1 (diff)
downloadbsdgames-darwin-96d2160d9c3e88d11f2fdba53cf69a0d14135860.tar.gz
bsdgames-darwin-96d2160d9c3e88d11f2fdba53cf69a0d14135860.tar.zst
bsdgames-darwin-96d2160d9c3e88d11f2fdba53cf69a0d14135860.zip
Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
Diffstat (limited to 'hunt/hunt')
-rw-r--r--hunt/hunt/hunt.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/hunt/hunt/hunt.c b/hunt/hunt/hunt.c
index e527c312..64469e64 100644
--- a/hunt/hunt/hunt.c
+++ b/hunt/hunt/hunt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hunt.c,v 1.8 1998/09/13 15:27:28 hubertf Exp $ */
+/* $NetBSD: hunt.c,v 1.9 2000/01/21 17:08:33 mycroft Exp $ */
/*
* Hunt
* Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
@@ -7,7 +7,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hunt.c,v 1.8 1998/09/13 15:27:28 hubertf Exp $");
+__RCSID("$NetBSD: hunt.c,v 1.9 2000/01/21 17:08:33 mycroft Exp $");
#endif /* not lint */
# include <sys/stat.h>
@@ -104,7 +104,6 @@ main(ac, av)
{
char *term;
int c;
- extern int errno;
extern int Otto_mode;
extern int optind;
extern char *optarg;
@@ -390,7 +389,6 @@ list_drivers()
static int initial = TRUE;
static struct in_addr local_address;
struct hostent *hp;
- extern int errno;
# ifdef BROADCAST
static int brdc;
static SOCKET *brdv;