summaryrefslogtreecommitdiffstats
path: root/adventure/io.c
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1998-09-13 00:07:24 +0000
committerhubertf <hubertf@NetBSD.org>1998-09-13 00:07:24 +0000
commitc352f3e872a5c707bab0c5de75c1a6e5c4ca9cbb (patch)
tree6851ebb9da45b6488dcea64b004f231a9eb2caee /adventure/io.c
parent36d0ac95346e7a22f32d5613230227fcfd74fa51 (diff)
downloadbsdgames-darwin-c352f3e872a5c707bab0c5de75c1a6e5c4ca9cbb.tar.gz
bsdgames-darwin-c352f3e872a5c707bab0c5de75c1a6e5c4ca9cbb.tar.zst
bsdgames-darwin-c352f3e872a5c707bab0c5de75c1a6e5c4ca9cbb.zip
constify, per PR 6041 by Joseph Myers <jsm28@cam.ac.uk>
Diffstat (limited to 'adventure/io.c')
-rw-r--r--adventure/io.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/adventure/io.c b/adventure/io.c
index 2e53cc56..3158991d 100644
--- a/adventure/io.c
+++ b/adventure/io.c
@@ -1,4 +1,4 @@
-/* $NetBSD: io.c,v 1.7 1998/08/29 22:40:07 hubertf Exp $ */
+/* $NetBSD: io.c,v 1.8 1998/09/13 00:07:24 hubertf Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -43,7 +43,7 @@
#if 0
static char sccsid[] = "@(#)io.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: io.c,v 1.7 1998/08/29 22:40:07 hubertf Exp $");
+__RCSID("$NetBSD: io.c,v 1.8 1998/09/13 00:07:24 hubertf Exp $");
#endif
#endif /* not lint */
@@ -155,8 +155,8 @@ char *inptr; /* Pointer into virtual disk */
int outsw = 0; /* putting stuff to data file? */
-char iotape[] = "Ax3F'\003tt$8h\315qer*h\017nGKrX\207:!l";
-char *tape = iotape; /* pointer to encryption tape */
+const char iotape[] = "Ax3F'\003tt$8h\315qer*h\017nGKrX\207:!l";
+const char *tape = iotape; /* pointer to encryption tape */
int
next()
@@ -508,7 +508,7 @@ mspeak(msg)
void
speak(msg) /* read, decrypt, and print a message (not
* ptext) */
- struct text *msg; /* msg is a pointer to seek address and length
+ const struct text *msg; /* msg is a pointer to seek address and length
* of mess */
{
char *s, nonfirst;