From fbdca8cfe42c178f8763126224ee5404b9b6ce68 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sat, 23 Nov 2024 11:34:36 +0100 Subject: Made vars const --- FICS/vers.c | 6 +++--- FICS/vers.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/FICS/vers.c b/FICS/vers.c index 3022be4..64b0aac 100644 --- a/FICS/vers.c +++ b/FICS/vers.c @@ -1,5 +1,5 @@ #include "vers.h" -char SGS_VERS[] = ""; -char VERS_NUM[] = "rpblc-1.4.3"; -char COMP_DATE[] = __DATE__; +const char SGS_VERS[] = ""; +const char VERS_NUM[] = "rpblc-1.4.3"; +const char COMP_DATE[] = __DATE__; diff --git a/FICS/vers.h b/FICS/vers.h index df005ac..c6046e2 100644 --- a/FICS/vers.h +++ b/FICS/vers.h @@ -24,8 +24,8 @@ #ifndef _VERS_H #define _VERS_H -extern char SGS_VERS[]; -extern char VERS_NUM[]; -extern char COMP_DATE[]; +extern const char SGS_VERS[]; +extern const char VERS_NUM[]; +extern const char COMP_DATE[]; #endif /* _VERS_H */ -- cgit v1.2.3