summaryrefslogtreecommitdiffstats
path: root/rogue/zap.c
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1998-11-10 13:01:31 +0000
committerhubertf <hubertf@NetBSD.org>1998-11-10 13:01:31 +0000
commit7d7fd1d69fceb79900e4d597c5e2bdbad06d6cc0 (patch)
tree08c3c9c428446f82830e48fe1f270f237f757c65 /rogue/zap.c
parent05f879242cedc51b52d70804261f502a94ac5893 (diff)
downloadbsdgames-darwin-7d7fd1d69fceb79900e4d597c5e2bdbad06d6cc0.tar.gz
bsdgames-darwin-7d7fd1d69fceb79900e4d597c5e2bdbad06d6cc0.zip
constify, per PR 6148
Diffstat (limited to 'rogue/zap.c')
-rw-r--r--rogue/zap.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/rogue/zap.c b/rogue/zap.c
index 09b30797..3c3fea5e 100644
--- a/rogue/zap.c
+++ b/rogue/zap.c
@@ -1,4 +1,4 @@
-/* $NetBSD: zap.c,v 1.4 1997/10/12 11:46:15 lukem Exp $ */
+/* $NetBSD: zap.c,v 1.5 1998/11/10 13:01:32 hubertf Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)zap.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: zap.c,v 1.4 1997/10/12 11:46:15 lukem Exp $");
+__RCSID("$NetBSD: zap.c,v 1.5 1998/11/10 13:01:32 hubertf Exp $");
#endif
#endif /* not lint */
@@ -285,7 +285,8 @@ bounce(ball, dir, row, col, r)
short ball, dir, row, col, r;
{
short orow, ocol;
- char buf[DCOLS], *s;
+ char buf[DCOLS];
+ const char *s;
short i, ch, new_dir = -1, damage;
static short btime;