summaryrefslogtreecommitdiffstats
path: root/trek/srscan.c
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1999-07-21 13:19:10 +0000
committerhubertf <hubertf@NetBSD.org>1999-07-21 13:19:10 +0000
commitd91aeebe629b8428e564df33c93bb69195d28cc3 (patch)
tree342727fa8bfdbef8202ebb0d3d400deab12a179f /trek/srscan.c
parent21ce304979b76ad5fff791e88f3f0c0fa22ce01a (diff)
downloadbsdgames-darwin-d91aeebe629b8428e564df33c93bb69195d28cc3.tar.gz
bsdgames-darwin-d91aeebe629b8428e564df33c93bb69195d28cc3.tar.zst
bsdgames-darwin-d91aeebe629b8428e564df33c93bb69195d28cc3.zip
const poisoning
Patch submitted in PR 8039 by Joseph Myers <jsm28@cam.ac.uk>
Diffstat (limited to 'trek/srscan.c')
-rw-r--r--trek/srscan.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/trek/srscan.c b/trek/srscan.c
index be86d140..7456d233 100644
--- a/trek/srscan.c
+++ b/trek/srscan.c
@@ -1,4 +1,4 @@
-/* $NetBSD: srscan.c,v 1.4 1997/10/12 21:25:19 christos Exp $ */
+/* $NetBSD: srscan.c,v 1.5 1999/07/21 13:19:11 hubertf Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)srscan.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: srscan.c,v 1.4 1997/10/12 21:25:19 christos Exp $");
+__RCSID("$NetBSD: srscan.c,v 1.5 1999/07/21 13:19:11 hubertf Exp $");
#endif
#endif /* not lint */
@@ -61,7 +61,7 @@ __RCSID("$NetBSD: srscan.c,v 1.4 1997/10/12 21:25:19 christos Exp $");
** The current quadrant is filled in on the computer chart.
*/
-char *Color[4] =
+const char *const Color[4] =
{
"GREEN",
"DOCKED",
@@ -75,10 +75,10 @@ int f;
{
int i, j;
int statinfo;
- char *s;
+ const char *s;
int percent;
struct quad *q = NULL;
- struct cvntab *p;
+ const struct cvntab *p;
if (f >= 0 && check_out(SRSCAN))
{