shithub: choc

Download patch

ref: 08a4de583359b2e4924ab7ca3692567f9b5f6620
parent: a138539a57b506b6b7ec8590052aa31e48c48fc7
author: Turo Lamminen <turotl@gmail.com>
date: Sat Jul 21 12:42:37 EDT 2018

wad: Make W_MergeFile parameter const

--- a/src/w_merge.c
+++ b/src/w_merge.c
@@ -567,7 +567,7 @@
 
 // Merge in a file by name
 
-void W_MergeFile(char *filename)
+void W_MergeFile(const char *filename)
 {
     int old_numlumps;
 
--- a/src/w_merge.h
+++ b/src/w_merge.h
@@ -26,7 +26,7 @@
 
 // Add a new WAD and merge it into the main directory
 
-void W_MergeFile(char *filename);
+void W_MergeFile(const char *filename);
 
 // NWT-style merging