X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/e9152f6d21d5a8b1e02922e0fc95b71fc21cbd92..31f3bac6b88bfb55f83358b8a827924631f828ea:/hunt/huntd/ctl.c diff --git a/hunt/huntd/ctl.c b/hunt/huntd/ctl.c index 59449930..b7066f65 100644 --- a/hunt/huntd/ctl.c +++ b/hunt/huntd/ctl.c @@ -1,3 +1,4 @@ +/* $NetBSD: ctl.c,v 1.2 1997/10/10 16:32:54 lukem Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. * All rights reserved. The Berkeley software License Agreement @@ -8,9 +9,14 @@ #if defined(TALK_43) || defined(TALK_42) +#include #ifndef lint +#if 0 static char sccsid[] = "@(#)ctl.c 5.2 (Berkeley) 3/13/86"; +#else +__RCSID("$NetBSD: ctl.c,v 1.2 1997/10/10 16:32:54 lukem Exp $"); #endif +#endif /* not lint */ /* * This file handles haggling with the various talk daemons to @@ -18,6 +24,7 @@ static char sccsid[] = "@(#)ctl.c 5.2 (Berkeley) 3/13/86"; * the progress */ +#include "hunt.h" #include "talk_ctl.h" struct sockaddr_in daemon_addr = { AF_INET }; @@ -34,6 +41,7 @@ int ctl_sockt; CTL_MSG msg; /* open the ctl socket */ +void open_ctl() { int length;