ref: 1b1b07dab2a0e58e9cd1a70958d8093c0afd090d
parent: bafe7eb1b9d1ebe5864b397c1c372ec4cb3b0188
author: Turo Lamminen <[email protected]>
date: Sat Mar 31 13:47:00 EDT 2018
Make D_FindWADByName parameter const
--- a/src/d_iwad.c
+++ b/src/d_iwad.c
@@ -723,7 +723,7 @@
// Searches WAD search paths for an WAD with a specific filename.
//
-char *D_FindWADByName(char *name)
+char *D_FindWADByName(const char *name)
{
char *path;
char *probe;
--- a/src/d_iwad.h
+++ b/src/d_iwad.h
@@ -39,7 +39,7 @@
char *description;
} iwad_t;
-char *D_FindWADByName(char *filename);
+char *D_FindWADByName(const char *filename);
char *D_TryFindWADByName(char *filename);
char *D_FindIWAD(int mask, GameMission_t *mission);
const iwad_t **D_FindAllIWADs(int mask);