diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-07-17 17:09:20 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-07-17 17:09:20 +0200 |
commit | 0f928ec9d7dc458773bd2c4358158fd87cd131b0 (patch) | |
tree | 7bb3a5ee573be1064efe0b0122a91e53ab30fcfa /FICS | |
parent | e52262223b4d044c9de5ee6e69808c9f9ac9a28e (diff) |
Marked 'bstr' const
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/gamedb.c | 2 | ||||
-rw-r--r-- | FICS/gamedb.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/FICS/gamedb.c b/FICS/gamedb.c index a766ba8..f623fe4 100644 --- a/FICS/gamedb.c +++ b/FICS/gamedb.c @@ -57,7 +57,7 @@ PUBLIC game *garray = NULL; PUBLIC int g_num = 0; -PUBLIC char *bstr[] = { +PUBLIC const char *bstr[] = { [TYPE_UNTIMED] = "untimed", [TYPE_BLITZ] = "blitz", [TYPE_STAND] = "standard", diff --git a/FICS/gamedb.h b/FICS/gamedb.h index 375b2c9..ea499f4 100644 --- a/FICS/gamedb.h +++ b/FICS/gamedb.h @@ -31,7 +31,7 @@ #include "board.h" -extern char *bstr[]; +extern const char *bstr[]; extern char *rstr[]; #define GAMEFILE_VERSION 3 |