From f9b4e2bf9bd3757eed1537e8d1669a11b42843b8 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Wed, 17 Jul 2024 17:19:16 +0200 Subject: Made 'rstr' const --- FICS/gamedb.c | 2 +- FICS/gamedb.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'FICS') 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 -- cgit v1.2.3