summaryrefslogtreecommitdiffstats
path: root/phantasia
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1998-07-27 01:12:35 +0000
committermycroft <mycroft@NetBSD.org>1998-07-27 01:12:35 +0000
commitc57fa9b1accc28bd366bc1236a0a39ec8aea5130 (patch)
tree9c8b229ce0453984e5eff5ff38adbb5599ab45b1 /phantasia
parent11961241abd27c9cf1344a211e8331ffd25259b9 (diff)
downloadbsdgames-darwin-c57fa9b1accc28bd366bc1236a0a39ec8aea5130.tar.gz
bsdgames-darwin-c57fa9b1accc28bd366bc1236a0a39ec8aea5130.tar.zst
bsdgames-darwin-c57fa9b1accc28bd366bc1236a0a39ec8aea5130.zip
const poisoning.
Diffstat (limited to 'phantasia')
-rw-r--r--phantasia/phantglobs.c4
-rw-r--r--phantasia/phantglobs.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/phantasia/phantglobs.c b/phantasia/phantglobs.c
index 88ce347c..399de146 100644
--- a/phantasia/phantglobs.c
+++ b/phantasia/phantglobs.c
@@ -1,4 +1,4 @@
-/* $NetBSD: phantglobs.c,v 1.3 1997/10/13 02:18:32 lukem Exp $ */
+/* $NetBSD: phantglobs.c,v 1.4 1998/07/27 01:12:35 mycroft Exp $ */
/*
* phantglobs.c - globals for Phantasia
@@ -29,7 +29,7 @@ jmp_buf Timeoenv; /* used for timing out waiting for input */
long Fileloc; /* location in file of player statistics */
-char *Login; /* pointer to login of player */
+const char *Login; /* pointer to login of player */
char *Enemyname; /* pointer name of monster/player we are battling*/
struct player Player; /* stats for player */
diff --git a/phantasia/phantglobs.h b/phantasia/phantglobs.h
index 1862b445..00077e55 100644
--- a/phantasia/phantglobs.h
+++ b/phantasia/phantglobs.h
@@ -1,4 +1,4 @@
-/* $NetBSD: phantglobs.h,v 1.4 1997/10/13 02:18:35 lukem Exp $ */
+/* $NetBSD: phantglobs.h,v 1.5 1998/07/27 01:12:35 mycroft Exp $ */
/*
* phantglobs.h - global declarations for Phantasia
@@ -27,7 +27,7 @@ extern jmp_buf Timeoenv; /* used for timing out waiting for input */
extern long Fileloc; /* location in file of player statistics */
-extern char *Login; /* pointer to login of current player */
+extern const char *Login; /* pointer to login of current player */
extern char *Enemyname; /* pointer name of monster/player we are battling*/
extern struct player Player; /* stats for player */