diff options
| author | dholland <dholland@NetBSD.org> | 2008-01-14 03:50:01 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2008-01-14 03:50:01 +0000 |
| commit | 171895fb3091b20b772c7ce10af67d5d5e3c03f9 (patch) | |
| tree | a4391bc3bd148b10908feb040df0693176f91e5f /rogue/play.c | |
| parent | 75ac6f4b4e5cbe8cd70943b174c38771b817c6ff (diff) | |
| download | bsdgames-darwin-171895fb3091b20b772c7ce10af67d5d5e3c03f9.tar.gz bsdgames-darwin-171895fb3091b20b772c7ce10af67d5d5e3c03f9.zip | |
ANSIfy. Remove unnecessary casts. Clean up for -Wsign-compare. Make more
things file-static. Other minor tidyups, and fix a couple minor bugs found
along the way.
Diffstat (limited to 'rogue/play.c')
| -rw-r--r-- | rogue/play.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/rogue/play.c b/rogue/play.c index 1e14754d..88245384 100644 --- a/rogue/play.c +++ b/rogue/play.c @@ -1,4 +1,4 @@ -/* $NetBSD: play.c,v 1.8 2008/01/14 00:23:52 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.8 2008/01/14 00:23:52 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.8 2008/01/14 00:23:52 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; |
