From 1e5e0a565cbcaf4f8aafa5a12c84e987aa822e13 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 29 Mar 2014 21:38:11 -0400 Subject: 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. --- src/hexen/r_data.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/hexen') 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" -- cgit v1.2.3