Make DEH_Error msg parameter const
This commit is contained in:
parent
b9107f377c
commit
eb3531a451
2 changed files with 2 additions and 2 deletions
|
|
@ -315,7 +315,7 @@ void DEH_Warning(deh_context_t *context, char *msg, ...)
|
|||
va_end(args);
|
||||
}
|
||||
|
||||
void DEH_Error(deh_context_t *context, char *msg, ...)
|
||||
void DEH_Error(deh_context_t *context, const char *msg, ...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ deh_context_t *DEH_OpenLump(int lumpnum);
|
|||
void DEH_CloseFile(deh_context_t *context);
|
||||
int DEH_GetChar(deh_context_t *context);
|
||||
char *DEH_ReadLine(deh_context_t *context, boolean extended);
|
||||
void DEH_Error(deh_context_t *context, char *msg, ...) PRINTF_ATTR(2, 3);
|
||||
void DEH_Error(deh_context_t *context, const char *msg, ...) PRINTF_ATTR(2, 3);
|
||||
void DEH_Warning(deh_context_t *context, char *msg, ...) PRINTF_ATTR(2, 3);
|
||||
boolean DEH_HadError(deh_context_t *context);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue