Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/hunt/huntd remove redundant decls
details: https://anonhg.NetBSD.org/src/rev/77a500cd0f5c
branches: trunk
changeset: 503360:77a500cd0f5c
user: christos <christos%NetBSD.org@localhost>
date: Mon Feb 05 00:42:14 2001 +0000
description:
remove redundant decls
diffstat:
games/hunt/huntd/faketalk.c | 8 +++-----
games/hunt/huntd/get_names.c | 6 ++----
2 files changed, 5 insertions(+), 9 deletions(-)
diffs (73 lines):
diff -r 18f832f63ec1 -r 77a500cd0f5c games/hunt/huntd/faketalk.c
--- a/games/hunt/huntd/faketalk.c Mon Feb 05 00:40:45 2001 +0000
+++ b/games/hunt/huntd/faketalk.c Mon Feb 05 00:42:14 2001 +0000
@@ -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 @@
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 @@
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 @@
char *s;
{
CTL_RESPONSE response;
- extern struct sockaddr_in ctl_addr;
get_remote_name(s); /* setup his_machine_addr, msg.r_name */
diff -r 18f832f63ec1 -r 77a500cd0f5c games/hunt/huntd/get_names.c
--- a/games/hunt/huntd/get_names.c Mon Feb 05 00:40:45 2001 +0000
+++ b/games/hunt/huntd/get_names.c Mon Feb 05 00:42:14 2001 +0000
@@ -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 @@
# include "hunt.h"
# include "talk_ctl.h"
-extern CTL_MSG msg;
-
static char hostname[MAXHOSTNAMELEN + 1];
char *my_machine_name;
Home |
Main Index |
Thread Index |
Old Index