From 5813ff28d2110a139386e10f5e3977f3b88dbda8 Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 5 Feb 2001 00:42:14 +0000 Subject: remove redundant decls --- hunt/huntd/faketalk.c | 8 +++----- hunt/huntd/get_names.c | 6 ++---- 2 files changed, 5 insertions(+), 9 deletions(-) (limited to 'hunt/huntd') 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 #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 #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; -- cgit v1.2.3-56-ge451