summaryrefslogtreecommitdiffstats
path: root/adventure/io.c
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1998-08-29 22:40:07 +0000
committerhubertf <hubertf@NetBSD.org>1998-08-29 22:40:07 +0000
commit50b9d92da6d2a0b63fc8f263fe2736b71b3ebdd2 (patch)
tree631738871e0ab5989e4d67a010819124875b2006 /adventure/io.c
parentc806d568b889a7e5ff59a7764dbd0c5a074e6491 (diff)
downloadbsdgames-darwin-50b9d92da6d2a0b63fc8f263fe2736b71b3ebdd2.tar.gz
bsdgames-darwin-50b9d92da6d2a0b63fc8f263fe2736b71b3ebdd2.tar.zst
bsdgames-darwin-50b9d92da6d2a0b63fc8f263fe2736b71b3ebdd2.zip
Remove unused function and unnecessary prototypes, as per PR 6050 by
Joseph Myers <jsm28@cam.ac.uk>
Diffstat (limited to 'adventure/io.c')
-rw-r--r--adventure/io.c18
1 files changed, 2 insertions, 16 deletions
diff --git a/adventure/io.c b/adventure/io.c
index 6343d434..2e53cc56 100644
--- a/adventure/io.c
+++ b/adventure/io.c
@@ -1,4 +1,4 @@
-/* $NetBSD: io.c,v 1.6 1997/10/11 01:53:29 lukem Exp $ */
+/* $NetBSD: io.c,v 1.7 1998/08/29 22:40:07 hubertf Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: io.c,v 1.6 1997/10/11 01:53:29 lukem Exp $");
+__RCSID("$NetBSD: io.c,v 1.7 1998/08/29 22:40:07 hubertf Exp $");
#endif
#endif /* not lint */
@@ -101,20 +101,6 @@ getin(wrd1, wrd2) /* get command from user */
}
int
-confirm(mesg) /* confirm irreversible action */
- char *mesg;
-{
- int result;
- printf("%s", mesg); /* tell him what he did */
- if (getchar() == 'y') /* was his first letter a 'y'? */
- result = 1;
- else
- result = 0;
- FLUSHLINE;
- return (result);
-}
-
-int
yes(x, y, z) /* confirm with rspeak */
int x, y, z;
{