summaryrefslogtreecommitdiff
path: root/games/adventure/subr.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>1998-09-02 06:36:08 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>1998-09-02 06:36:08 +0000
commit8a5440f402df103a4c008b54262f53ccd1f7888d (patch)
tree16efd65d4e93ec41b42106e57d51b4a3376defe6 /games/adventure/subr.c
parent2a0d8088382c514e54dfdbb4be1ba3fea4c3b522 (diff)
More changes from jsm28@cam.ac.uk
Diffstat (limited to 'games/adventure/subr.c')
-rw-r--r--games/adventure/subr.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/games/adventure/subr.c b/games/adventure/subr.c
index eb88d83c20e..731eb999e67 100644
--- a/games/adventure/subr.c
+++ b/games/adventure/subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: subr.c,v 1.3 1998/08/31 02:29:45 pjanzen Exp $ */
+/* $OpenBSD: subr.c,v 1.4 1998/09/02 06:36:07 pjanzen Exp $ */
/* $NetBSD: subr.c,v 1.2 1995/03/21 12:05:11 cgd Exp $ */
/*-
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)subr.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: subr.c,v 1.3 1998/08/31 02:29:45 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: subr.c,v 1.4 1998/09/02 06:36:07 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -467,7 +467,7 @@ trbridge() /* 30300 */
}
-int
+void
badmove() /* 20 */
{
spk = 12;
@@ -486,10 +486,9 @@ badmove() /* 20 */
if (k == 17)
spk = 80;
rspeak(spk);
- return (2);
}
-int
+void
bug(n)
int n;
{
@@ -999,7 +998,7 @@ trfill() /* 9220 */
}
-int
+void
closing() /* 10000 */
{
int i;
@@ -1023,11 +1022,10 @@ closing() /* 10000 */
rspeak(129);
clock1 = -1;
closng = TRUE;
- return (19999);
}
-int
+void
caveclose() /* 11000 */
{
int i;
@@ -1057,5 +1055,4 @@ caveclose() /* 11000 */
dstroy(i);
rspeak(132);
closed = TRUE;
- return (2);
}