summaryrefslogtreecommitdiffstats
path: root/battlestar/room.c
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1999-02-10 01:36:50 +0000
committerhubertf <hubertf@NetBSD.org>1999-02-10 01:36:50 +0000
commit100d94357a66a55e6b4fdc8a07350d7b62a945d6 (patch)
tree5cc11420edf6395ec5d7520b9eee92aa629ce353 /battlestar/room.c
parent22a27dede77166c7bdf1de647d4d2b961fcd92c2 (diff)
downloadbsdgames-darwin-100d94357a66a55e6b4fdc8a07350d7b62a945d6.tar.gz
bsdgames-darwin-100d94357a66a55e6b4fdc8a07350d7b62a945d6.tar.zst
bsdgames-darwin-100d94357a66a55e6b4fdc8a07350d7b62a945d6.zip
Const poisoning, per PR 6660 by Joseph Myers <jsm28@cam.ac.uk>
Diffstat (limited to 'battlestar/room.c')
-rw-r--r--battlestar/room.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/battlestar/room.c b/battlestar/room.c
index f464982e..8cdabae7 100644
--- a/battlestar/room.c
+++ b/battlestar/room.c
@@ -1,4 +1,4 @@
-/* $NetBSD: room.c,v 1.6 1997/10/11 02:07:35 lukem Exp $ */
+/* $NetBSD: room.c,v 1.7 1999/02/10 01:36:50 hubertf Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)room.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: room.c,v 1.6 1997/10/11 02:07:35 lukem Exp $");
+__RCSID("$NetBSD: room.c,v 1.7 1999/02/10 01:36:50 hubertf Exp $");
#endif
#endif /* not lint */
@@ -48,7 +48,7 @@ void
writedes()
{
int compass;
- char *p;
+ const char *p;
int c;
printf("\n\t%s\n", location[position].name);
@@ -114,7 +114,7 @@ whichway(here)
}
}
-char *
+const char *
truedirec(way, option)
int way;
char option;