setup: Make AddCmdLineParameter format parameter const
This commit is contained in:
parent
3166cfd54c
commit
efc804dc55
2 changed files with 2 additions and 2 deletions
|
|
@ -130,7 +130,7 @@ execute_context_t *NewExecuteContext(void)
|
|||
return result;
|
||||
}
|
||||
|
||||
void AddCmdLineParameter(execute_context_t *context, char *s, ...)
|
||||
void AddCmdLineParameter(execute_context_t *context, const char *s, ...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ typedef struct execute_context_s execute_context_t;
|
|||
#define IWAD_CHEX (1 << 5) /* chex.wad */
|
||||
|
||||
execute_context_t *NewExecuteContext(void);
|
||||
void AddCmdLineParameter(execute_context_t *context, char *s, ...) PRINTF_ATTR(2, 3);
|
||||
void AddCmdLineParameter(execute_context_t *context, const char *s, ...) PRINTF_ATTR(2, 3);
|
||||
void PassThroughArguments(execute_context_t *context);
|
||||
int ExecuteDoom(execute_context_t *context);
|
||||
int FindInstalledIWADs(void);
|
||||
|
|
|
|||
Loading…
Reference in a new issue