summaryrefslogtreecommitdiffstats
path: root/rogue
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 /rogue
parent11961241abd27c9cf1344a211e8331ffd25259b9 (diff)
downloadbsdgames-darwin-c57fa9b1accc28bd366bc1236a0a39ec8aea5130.tar.gz
bsdgames-darwin-c57fa9b1accc28bd366bc1236a0a39ec8aea5130.tar.zst
bsdgames-darwin-c57fa9b1accc28bd366bc1236a0a39ec8aea5130.zip
const poisoning.
Diffstat (limited to 'rogue')
-rw-r--r--rogue/init.c6
-rw-r--r--rogue/machdep.c6
-rw-r--r--rogue/rogue.h5
3 files changed, 9 insertions, 8 deletions
diff --git a/rogue/init.c b/rogue/init.c
index e40ca408..0e6352b3 100644
--- a/rogue/init.c
+++ b/rogue/init.c
@@ -1,4 +1,4 @@
-/* $NetBSD: init.c,v 1.5 1997/10/12 11:45:08 lukem Exp $ */
+/* $NetBSD: init.c,v 1.6 1998/07/27 01:12:35 mycroft Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: init.c,v 1.5 1997/10/12 11:45:08 lukem Exp $");
+__RCSID("$NetBSD: init.c,v 1.6 1998/07/27 01:12:35 mycroft Exp $");
#endif
#endif /* not lint */
@@ -78,7 +78,7 @@ init(argc, argv)
int argc;
char *argv[];
{
- char *pn;
+ const char *pn;
int seed;
seed = 0;
diff --git a/rogue/machdep.c b/rogue/machdep.c
index cde2bbb1..f5e90dd2 100644
--- a/rogue/machdep.c
+++ b/rogue/machdep.c
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.7 1998/07/21 07:01:54 hubertf Exp $ */
+/* $NetBSD: machdep.c,v 1.8 1998/07/27 01:12:35 mycroft Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)machdep.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: machdep.c,v 1.7 1998/07/21 07:01:54 hubertf Exp $");
+__RCSID("$NetBSD: machdep.c,v 1.8 1998/07/27 01:12:35 mycroft Exp $");
#endif
#endif /* not lint */
@@ -319,7 +319,7 @@ md_df(fname)
* function, but then the score file would only have one name in it.
*/
-char *
+const char *
md_gln()
{
struct passwd *p;
diff --git a/rogue/rogue.h b/rogue/rogue.h
index 2a112815..7a793b51 100644
--- a/rogue/rogue.h
+++ b/rogue/rogue.h
@@ -1,4 +1,4 @@
-/* $NetBSD: rogue.h,v 1.5 1997/10/12 11:45:52 lukem Exp $ */
+/* $NetBSD: rogue.h,v 1.6 1998/07/27 01:12:36 mycroft Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -467,7 +467,8 @@ object *get_zapped_monster __P((short, short *, short *));
object *gr_monster __P((object *, int));
object *gr_object __P((void));
char *md_getenv __P((char *));
-char *md_gln __P((void));
+const char *
+ md_gln __P((void));
char *md_malloc __P((int));
char *mon_name __P((object *));
char *name_of __P((object *));