From 0f928ec9d7dc458773bd2c4358158fd87cd131b0 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Wed, 17 Jul 2024 17:09:20 +0200 Subject: Marked 'bstr' const --- FICS/gamedb.c | 2 +- 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 -- cgit v1.2.3