X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/1c987590202c8ca8dec65a88afd1d73328d55b39..1473e837300a6a867630da6e114a3c6262e28a85:/rogue/play.c diff --git a/rogue/play.c b/rogue/play.c index 0ede8ad7..88245384 100644 --- a/rogue/play.c +++ b/rogue/play.c @@ -1,4 +1,4 @@ -/* $NetBSD: play.c,v 1.7 2007/12/27 23:53:00 dholland Exp $ */ +/* $NetBSD: play.c,v 1.9 2008/01/14 03:50:02 dholland Exp $ */ /* * Copyright (c) 1988, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)play.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: play.c,v 1.7 2007/12/27 23:53:00 dholland Exp $"); +__RCSID("$NetBSD: play.c,v 1.9 2008/01/14 03:50:02 dholland Exp $"); #endif #endif /* not lint */ @@ -56,10 +56,11 @@ __RCSID("$NetBSD: play.c,v 1.7 2007/12/27 23:53:00 dholland Exp $"); #include "rogue.h" boolean interrupted = 0; -const char *unknown_command = "unknown command"; + +static const char unknown_command[] = "unknown command"; void -play_level() +play_level(void) { short ch; int count; @@ -106,7 +107,7 @@ CH: case 'u': case 'n': case 'b': - (void) one_move_rogue(ch, 1); + (void)one_move_rogue(ch, 1); break; case 'H': case 'J':