summaryrefslogtreecommitdiff
path: root/src/hexen
diff options
context:
space:
mode:
authorSimon Howard2014-03-29 21:38:11 -0400
committerSimon Howard2014-03-29 21:38:11 -0400
commit1e5e0a565cbcaf4f8aafa5a12c84e987aa822e13 (patch)
treec8e3345077d254cd42d7483e4762fd129b765a37 /src/hexen
parent2e6e43c4a706e3670f131c7b2d5a5525f9bf0d7b (diff)
downloadchocolate-doom-1e5e0a565cbcaf4f8aafa5a12c84e987aa822e13.tar.gz
chocolate-doom-1e5e0a565cbcaf4f8aafa5a12c84e987aa822e13.tar.bz2
chocolate-doom-1e5e0a565cbcaf4f8aafa5a12c84e987aa822e13.zip
misc: Make arguments to string functions const.
Where a pointer is to a buffer that does not need to be mutable for the operation of the function, use const char * instead. This avoids some type errors where constant string are passed.
Diffstat (limited to 'src/hexen')
-rw-r--r--src/hexen/r_data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hexen/r_data.c b/src/hexen/r_data.c
index 903eb316..da1244e2 100644
--- a/src/hexen/r_data.c
+++ b/src/hexen/r_data.c
@@ -26,6 +26,7 @@
#include "h2def.h"
#include "i_system.h"
#include "i_swap.h"
+#include "m_misc.h"
#include "r_local.h"
#include "p_local.h"