-/* $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
#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"
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
*/
int service; /* socket of service */
struct sockaddr_in des; /* address of destination */
char *a, *b;
- extern char **environ;
(void) signal(SIGCHLD, exorcise);
char *s;
{
CTL_RESPONSE response;
- extern struct sockaddr_in ctl_addr;
get_remote_name(s); /* setup his_machine_addr, msg.r_name */
-/* $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
#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"
# include "hunt.h"
# include "talk_ctl.h"
-extern CTL_MSG msg;
-
static char hostname[MAXHOSTNAMELEN + 1];
char *my_machine_name;