summaryrefslogtreecommitdiffstats
path: root/hunt
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2001-02-05 00:42:14 +0000
committerchristos <christos@NetBSD.org>2001-02-05 00:42:14 +0000
commit5813ff28d2110a139386e10f5e3977f3b88dbda8 (patch)
tree4ac9d50095c3f5019909ba10629b313da1900a0a /hunt
parenta1380bc8ea2c54611fc861ce62df33f7a225a3e7 (diff)
downloadbsdgames-darwin-5813ff28d2110a139386e10f5e3977f3b88dbda8.tar.gz
bsdgames-darwin-5813ff28d2110a139386e10f5e3977f3b88dbda8.tar.zst
bsdgames-darwin-5813ff28d2110a139386e10f5e3977f3b88dbda8.zip
remove redundant decls
Diffstat (limited to 'hunt')
-rw-r--r--hunt/huntd/faketalk.c8
-rw-r--r--hunt/huntd/get_names.c6
2 files changed, 5 insertions, 9 deletions
diff --git a/hunt/huntd/faketalk.c b/hunt/huntd/faketalk.c
index f613b3c3..132a523f 100644
--- a/hunt/huntd/faketalk.c
+++ b/hunt/huntd/faketalk.c
@@ -1,4 +1,4 @@
-/* $NetBSD: faketalk.c,v 1.5 2001/01/09 23:49:54 lukem Exp $ */
+/* $NetBSD: faketalk.c,v 1.6 2001/02/05 00:42:14 christos Exp $ */
/*
* Hunt
* Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
@@ -11,7 +11,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: faketalk.c,v 1.5 2001/01/09 23:49:54 lukem Exp $");
+__RCSID("$NetBSD: faketalk.c,v 1.6 2001/02/05 00:42:14 christos Exp $");
#endif /* not lint */
#include "bsd.h"
@@ -43,10 +43,10 @@ __RCSID("$NetBSD: faketalk.c,v 1.5 2001/01/09 23:49:54 lukem Exp $");
extern char *my_machine_name;
extern char *First_arg, *Last_arg;
+extern char **environ;
static void do_announce __P((char *));
SIGNAL_TYPE exorcise __P((int));
-
/*
* exorcise - disspell zombies
*/
@@ -72,7 +72,6 @@ faketalk()
int service; /* socket of service */
struct sockaddr_in des; /* address of destination */
char *a, *b;
- extern char **environ;
(void) signal(SIGCHLD, exorcise);
@@ -189,7 +188,6 @@ do_announce(s)
char *s;
{
CTL_RESPONSE response;
- extern struct sockaddr_in ctl_addr;
get_remote_name(s); /* setup his_machine_addr, msg.r_name */
diff --git a/hunt/huntd/get_names.c b/hunt/huntd/get_names.c
index 2ca529a8..8f19b9d5 100644
--- a/hunt/huntd/get_names.c
+++ b/hunt/huntd/get_names.c
@@ -1,4 +1,4 @@
-/* $NetBSD: get_names.c,v 1.5 2001/01/09 23:49:54 lukem Exp $ */
+/* $NetBSD: get_names.c,v 1.6 2001/02/05 00:42:15 christos Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
@@ -7,7 +7,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: get_names.c,v 1.5 2001/01/09 23:49:54 lukem Exp $");
+__RCSID("$NetBSD: get_names.c,v 1.6 2001/02/05 00:42:15 christos Exp $");
#endif /* not lint */
#include "bsd.h"
@@ -23,8 +23,6 @@ __RCSID("$NetBSD: get_names.c,v 1.5 2001/01/09 23:49:54 lukem Exp $");
# include "hunt.h"
# include "talk_ctl.h"
-extern CTL_MSG msg;
-
static char hostname[MAXHOSTNAMELEN + 1];
char *my_machine_name;