Make DEH_Warning msg parameter const
This commit is contained in:
parent
eb3531a451
commit
98b86be284
2 changed files with 2 additions and 2 deletions
|
|
@ -302,7 +302,7 @@ char *DEH_ReadLine(deh_context_t *context, boolean extended)
|
|||
return context->readbuffer;
|
||||
}
|
||||
|
||||
void DEH_Warning(deh_context_t *context, char *msg, ...)
|
||||
void DEH_Warning(deh_context_t *context, const char *msg, ...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ 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, const char *msg, ...) PRINTF_ATTR(2, 3);
|
||||
void DEH_Warning(deh_context_t *context, char *msg, ...) PRINTF_ATTR(2, 3);
|
||||
void DEH_Warning(deh_context_t *context, const char *msg, ...) PRINTF_ATTR(2, 3);
|
||||
boolean DEH_HadError(deh_context_t *context);
|
||||
|
||||
#endif /* #ifndef DEH_IO_H */
|
||||
|
|
|
|||
Loading…
Reference in a new issue