aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-11-23 11:34:36 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-11-23 11:34:36 +0100
commitfbdca8cfe42c178f8763126224ee5404b9b6ce68 (patch)
tree7771052fac4b818066f42b08880b9da5792340d2
parent67c553e6ea2f436db45aa6eb07019723a4bc04e9 (diff)
Made vars const
-rw-r--r--FICS/vers.c6
-rw-r--r--FICS/vers.h6
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 */