ref: 9b90534e4b0a8a88c5817c613f9184820a1eabad
parent: 5ee47d86d9d2119d2a20956d23acf084532ef8b9
author: Turo Lamminen <[email protected]>
date: Tue Dec 4 13:51:57 EST 2018
hexen: Make ST_Message message parameter const
--- a/src/hexen/st_start.c
+++ b/src/hexen/st_start.c
@@ -263,7 +263,7 @@
//
//==========================================================================
-void ST_Message(char *message, ...)
+void ST_Message(const char *message, ...)
{
va_list argptr;
--- a/src/hexen/st_start.h
+++ b/src/hexen/st_start.h
@@ -28,7 +28,7 @@
// PUBLIC FUNCTION PROTOTYPES ----------------------------------------------
extern void ST_Init(void);
extern void ST_Done(void);
-extern void ST_Message(char *message, ...) PRINTF_ATTR(1, 2);
+extern void ST_Message(const char *message, ...) PRINTF_ATTR(1, 2);
extern void ST_RealMessage(char *message, ...) PRINTF_ATTR(1, 2);
extern void ST_Progress(void);
extern void ST_NetProgress(void);