From 100d94357a66a55e6b4fdc8a07350d7b62a945d6 Mon Sep 17 00:00:00 2001 From: hubertf Date: Wed, 10 Feb 1999 01:36:50 +0000 Subject: Const poisoning, per PR 6660 by Joseph Myers --- battlestar/room.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'battlestar/room.c') 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; -- cgit v1.2.3-56-ge451