cf_error(char *msg, ...) -> cf_error(const char *msg, ...)

This commit is contained in:
Pavel Tvrdík 2016-03-09 16:48:28 +01:00
parent 43fd8fae52
commit 1a7daab126
2 changed files with 2 additions and 2 deletions

View file

@ -504,7 +504,7 @@ order_shutdown(void)
* error in the configuration. * error in the configuration.
*/ */
void void
cf_error(char *msg, ...) cf_error(const char *msg, ...)
{ {
char buf[1024]; char buf[1024];
va_list args; va_list args;

View file

@ -68,7 +68,7 @@ int config_commit(struct config *, int type, int timeout);
int config_confirm(void); int config_confirm(void);
int config_undo(void); int config_undo(void);
void config_init(void); void config_init(void);
void cf_error(char *msg, ...) NORET; void cf_error(const char *msg, ...) NORET;
void config_add_obstacle(struct config *); void config_add_obstacle(struct config *);
void config_del_obstacle(struct config *); void config_del_obstacle(struct config *);
void order_shutdown(void); void order_shutdown(void);