From 01f8a3b22d2905cfc39bd648a290b804ac4f4bb6 Mon Sep 17 00:00:00 2001 From: dholland Date: Sat, 29 Mar 2014 20:35:30 +0000 Subject: remove stubbed-out function --- hunt/huntd/Makefile | 4 ++-- hunt/huntd/driver.c | 11 +++++------ hunt/huntd/faketalk.c | 45 --------------------------------------------- 3 files changed, 7 insertions(+), 53 deletions(-) delete mode 100644 hunt/huntd/faketalk.c (limited to 'hunt') diff --git a/hunt/huntd/Makefile b/hunt/huntd/Makefile index f3e7937c..76e76058 100644 --- a/hunt/huntd/Makefile +++ b/hunt/huntd/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2014/03/29 20:32:04 dholland Exp $ +# $NetBSD: Makefile,v 1.3 2014/03/29 20:35:30 dholland Exp $ PROG= huntd SRCS= answer.c draw.c driver.c execute.c expl.c \ - extern.c faketalk.c makemaze.c pathname.c shots.c terminal.c + extern.c makemaze.c pathname.c shots.c terminal.c MAN= huntd.6 .include diff --git a/hunt/huntd/driver.c b/hunt/huntd/driver.c index 6642de6e..0c3feae0 100644 --- a/hunt/huntd/driver.c +++ b/hunt/huntd/driver.c @@ -1,4 +1,4 @@ -/* $NetBSD: driver.c,v 1.26 2014/03/29 20:12:12 dholland Exp $ */ +/* $NetBSD: driver.c,v 1.27 2014/03/29 20:35:30 dholland Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,7 +32,7 @@ #include #ifndef lint -__RCSID("$NetBSD: driver.c,v 1.26 2014/03/29 20:12:12 dholland Exp $"); +__RCSID("$NetBSD: driver.c,v 1.27 2014/03/29 20:35:30 dholland Exp $"); #endif /* not lint */ #include @@ -183,10 +183,9 @@ again: } if (fdset[0].revents & POLLIN) if (answer()) { -#ifdef INTERNET - if (first && standard_port) - faketalk(); -#endif + if (first) { + /* announce start of game? */ + } first = false; } if (fdset[1].revents & POLLIN) diff --git a/hunt/huntd/faketalk.c b/hunt/huntd/faketalk.c deleted file mode 100644 index 2aef727b..00000000 --- a/hunt/huntd/faketalk.c +++ /dev/null @@ -1,45 +0,0 @@ -/* $NetBSD: faketalk.c,v 1.24 2014/03/29 20:32:04 dholland Exp $ */ -/* - * Copyright (c) 1983-2003, Regents of the University of California. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are - * met: - * - * + Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * + Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * + Neither the name of the University of California, San Francisco nor - * the names of its contributors may be used to endorse or promote - * products derived from this software without specific prior written - * permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS - * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -#include -#ifndef lint -__RCSID("$NetBSD: faketalk.c,v 1.24 2014/03/29 20:32:04 dholland Exp $"); -#endif /* not lint */ - -#include "hunt.h" - -void -faketalk(void) -{ - return; -} - -- cgit v1.2.3-56-ge451