summaryrefslogtreecommitdiffstats
path: root/hunt
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2014-03-29 20:35:30 +0000
committerdholland <dholland@NetBSD.org>2014-03-29 20:35:30 +0000
commit01f8a3b22d2905cfc39bd648a290b804ac4f4bb6 (patch)
tree53c47bc86e60a880c28ffc84e20832d494032cc9 /hunt
parent6160abf7585bddb853ea3abb465bbb7cfff1ddb2 (diff)
downloadbsdgames-darwin-01f8a3b22d2905cfc39bd648a290b804ac4f4bb6.tar.gz
bsdgames-darwin-01f8a3b22d2905cfc39bd648a290b804ac4f4bb6.tar.zst
bsdgames-darwin-01f8a3b22d2905cfc39bd648a290b804ac4f4bb6.zip
remove stubbed-out function
Diffstat (limited to 'hunt')
-rw-r--r--hunt/huntd/Makefile4
-rw-r--r--hunt/huntd/driver.c11
-rw-r--r--hunt/huntd/faketalk.c45
3 files changed, 7 insertions, 53 deletions
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 <bsd.prog.mk>
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 <sys/cdefs.h>
#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 <sys/ioctl.h>
@@ -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 <sys/cdefs.h>
-#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;
-}
-