aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-07-17 17:19:16 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-07-17 17:19:16 +0200
commitf9b4e2bf9bd3757eed1537e8d1669a11b42843b8 (patch)
treebcc8ba36a1f1a1d78dce3cf8a271b2354e5501d7
parent52ccb32d55764b48de2ae84c42726c3241cc4976 (diff)
Made 'rstr' const
-rw-r--r--FICS/gamedb.c2
-rw-r--r--FICS/gamedb.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/FICS/gamedb.c b/FICS/gamedb.c
index c34f137..8723dc4 100644
--- a/FICS/gamedb.c
+++ b/FICS/gamedb.c
@@ -66,7 +66,7 @@ PUBLIC const char *bstr[] = {
[TYPE_LIGHT] = "lightning",
[TYPE_BUGHOUSE] = "bughouse"
};
-PUBLIC char *rstr[] = {
+PUBLIC const char *rstr[] = {
[TYPE_UNRATED] = "unrated",
[TYPE_RATED] = "rated"
};
diff --git a/FICS/gamedb.h b/FICS/gamedb.h
index edcfcdc..5b4ceef 100644
--- a/FICS/gamedb.h
+++ b/FICS/gamedb.h
@@ -32,7 +32,7 @@
#include "board.h"
extern const char *bstr[];
-extern char *rstr[];
+extern const char *rstr[];
#define GAMEFILE_VERSION 3
#define MAX_GLINE_SIZE 1024