ref: b64575b41b5a69a753426ed6f0421110b134dcb2
parent: 49e269d53ab07d0ba4d6751a06483d77d85f912e
author: Turo Lamminen <[email protected]>
date: Sat Mar 31 12:23:30 EDT 2018
Make M_ParmExists check parameter const
--- a/src/m_argv.c
+++ b/src/m_argv.c
@@ -60,7 +60,7 @@
// line arguments, false if not.
//
-boolean M_ParmExists(char *check)
+boolean M_ParmExists(const char *check)
{
return M_CheckParm(check) != 0;
}
--- a/src/m_argv.h
+++ b/src/m_argv.h
@@ -40,7 +40,7 @@
// Parameter has been specified?
-boolean M_ParmExists(char *check);
+boolean M_ParmExists(const char *check);
// Get name of executable used to run this program: