shithub: choc

Download patch

ref: 247d0e0d04a2515d3b0d9662725971d1f84a73bf
parent: e268cd1327a195285255541e6b77f0aad71300a8
author: Turo Lamminen <turotl@gmail.com>
date: Tue Dec 4 15:02:33 EST 2018

Make deh_signatures consistently const in all games

--- 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;
 
--- 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",
--- 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",