summaryrefslogtreecommitdiffstats
path: root/backgammon/common_source/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'backgammon/common_source/init.c')
-rw-r--r--backgammon/common_source/init.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/backgammon/common_source/init.c b/backgammon/common_source/init.c
index 4addd6cb..e812b1c5 100644
--- a/backgammon/common_source/init.c
+++ b/backgammon/common_source/init.c
@@ -1,4 +1,4 @@
-/* $NetBSD: init.c,v 1.6 1997/10/14 00:53:31 lukem Exp $ */
+/* $NetBSD: init.c,v 1.7 1999/02/10 12:29:48 hubertf Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)init.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: init.c,v 1.6 1997/10/14 00:53:31 lukem Exp $");
+__RCSID("$NetBSD: init.c,v 1.7 1999/02/10 12:29:48 hubertf Exp $");
#endif
#endif /* not lint */
@@ -49,8 +49,8 @@ __RCSID("$NetBSD: init.c,v 1.6 1997/10/14 00:53:31 lukem Exp $");
*/
/* name of executable object programs */
-char EXEC[] = "/usr/games/backgammon";
-char TEACH[] = "/usr/games/teachgammon";
+const char EXEC[] = "/usr/games/backgammon";
+const char TEACH[] = "/usr/games/teachgammon";
int pnum = 2; /* color of player: -1 = white 1 = red 0 =
* both 2 = not yet init'ed */
@@ -66,11 +66,11 @@ int tflag = 0; /* cursor addressing flag */
int iroll = 0; /* special flag for inputting rolls */
int rfl = 0;
-char *color[] = {"White", "Red", "white", "red"};
+const char *const color[] = {"White", "Red", "white", "red"};
-char **Colorptr;
-char **colorptr;
+const char *const *Colorptr;
+const char *const *colorptr;
int *inopp;
int *inptr;
int *offopp;