foxygit / doom Log in
commit 247d0e0d04a2515d3b0d9662725971d1f84a73bf
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Dec 4 20:02:33 2018 +0200
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Dec 4 20:02:33 2018 +0200

    Make deh_signatures consistently const in all games
---
 src/deh_main.c          | 2 +-
 src/heretic/deh_htic.c  | 2 +-
 src/strife/deh_strife.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/deh_main.c b/src/deh_main.c
index 4e0d41ec..3c1fb66f 100644
--- a/src/deh_main.c
+++ b/src/deh_main.c
@@ -31,7 +31,7 @@
 #include "deh_io.h"

 extern deh_section_t *deh_section_types[];
-extern char *deh_signatures[];
+extern const char *deh_signatures[];

 static boolean deh_initialized = false;

diff --git a/src/heretic/deh_htic.c b/src/heretic/deh_htic.c
index a8bd6a68..5f2487d1 100644
--- a/src/heretic/deh_htic.c
+++ b/src/heretic/deh_htic.c
@@ -25,7 +25,7 @@
 #include "info.h"
 #include "m_argv.h"

-char *deh_signatures[] =
+const char *deh_signatures[] =
 {
     "Patch File for HHE v1.0",
     "Patch File for HHE v1.1",
diff --git a/src/strife/deh_strife.c b/src/strife/deh_strife.c
index 059e01c1..231045b1 100644
--- a/src/strife/deh_strife.c
+++ b/src/strife/deh_strife.c
@@ -19,7 +19,7 @@
 #include "deh_defs.h"
 #include "deh_main.h"

-char *deh_signatures[] =
+const char *deh_signatures[] =
 {
     "Patch File for SeHackEd v0.4",
     "Patch File for SeHackEd v0.3",