diff --git a/polymer/eduke32/build/include/baselayer.h b/polymer/eduke32/build/include/baselayer.h index 173c5538e..faae51ecc 100644 --- a/polymer/eduke32/build/include/baselayer.h +++ b/polymer/eduke32/build/include/baselayer.h @@ -12,7 +12,7 @@ extern "C" { #endif -extern int32_t app_main(int32_t argc, const char **argv); +extern int32_t app_main(int32_t argc, char const * const * argv); extern const char* AppProperName; extern const char* AppTechnicalName; diff --git a/polymer/eduke32/build/include/common.h b/polymer/eduke32/build/include/common.h index 03fcc93eb..be80ee62c 100644 --- a/polymer/eduke32/build/include/common.h +++ b/polymer/eduke32/build/include/common.h @@ -88,7 +88,7 @@ static inline void realloc_copy(char **fn, const char *buf) int32_t getatoken(scriptfile *sf, const tokenlist *tl, int32_t ntokens); -int32_t G_CheckCmdSwitch(int32_t argc, const char **argv, const char *str); +int32_t G_CheckCmdSwitch(int32_t argc, char const * const * argv, const char *str); int32_t testkopen(const char *filename, char searchfirst); // full-blown kopen4load int32_t check_file_exist(const char *fn); // findfrompath with pathsearchmode=1 / search in zips diff --git a/polymer/eduke32/build/include/editor.h b/polymer/eduke32/build/include/editor.h index fe7fd9ab2..9b9bc1ad5 100644 --- a/polymer/eduke32/build/include/editor.h +++ b/polymer/eduke32/build/include/editor.h @@ -190,7 +190,7 @@ extern void clearkeys(void); extern const char *ExtGetVer(void); extern int32_t ExtInit(void); -extern int32_t ExtPreInit(int32_t argc,const char **argv); +extern int32_t ExtPreInit(int32_t argc,char const * const * argv); extern int32_t ExtPostStartupWindow(void); extern void ExtPostInit(void); extern void ExtUnInit(void); diff --git a/polymer/eduke32/build/src/build.c b/polymer/eduke32/build/src/build.c index 6cfd8f9e9..1d1dde85a 100644 --- a/polymer/eduke32/build/src/build.c +++ b/polymer/eduke32/build/src/build.c @@ -34,7 +34,7 @@ static char kensig[64]; static const char *CallExtGetVer(void); static int32_t CallExtInit(void); -static int32_t CallExtPreInit(int32_t argc,const char **argv); +static int32_t CallExtPreInit(int32_t argc,char const * const * argv); static int32_t CallExtPostStartupWindow(void); static void CallExtPostInit(void); static void CallExtUnInit(void); @@ -567,7 +567,7 @@ static void M32_FatalEngineError(void) exit(2); } -int32_t app_main(int32_t argc, const char **argv) +int32_t app_main(int32_t argc, char const * const * argv) { #ifdef STARTUP_SETUP_WINDOW char cmdsetup = 0; @@ -11026,7 +11026,7 @@ static int32_t CallExtInit(void) { return ExtInit(); } -static int32_t CallExtPreInit(int32_t argc,const char **argv) +static int32_t CallExtPreInit(int32_t argc,char const * const * argv) { return ExtPreInit(argc, argv); } diff --git a/polymer/eduke32/build/src/common.c b/polymer/eduke32/build/src/common.c index ac598d9a8..ab4a6c60b 100644 --- a/polymer/eduke32/build/src/common.c +++ b/polymer/eduke32/build/src/common.c @@ -88,7 +88,7 @@ int32_t getatoken(scriptfile *sf, const tokenlist *tl, int32_t ntokens) ////////// -int32_t G_CheckCmdSwitch(int32_t argc, const char **argv, const char *str) +int32_t G_CheckCmdSwitch(int32_t argc, char const * const * argv, const char *str) { int32_t i; for (i=0; i