diff options
author | Pavel Tvrdík <pawel.tvrdik@gmail.com> | 2016-03-09 16:48:28 +0100 |
---|---|---|
committer | Pavel Tvrdík <pawel.tvrdik@gmail.com> | 2016-03-10 16:07:44 +0100 |
commit | 1a7daab126471374841e41de7f7e590ab22f35c8 (patch) | |
tree | 530b0bdc77984570081f9357bbaddef76b841258 /conf | |
parent | 43fd8fae526cbc62093a32bda572c93fa4055e98 (diff) |
cf_error(char *msg, ...) -> cf_error(const char *msg, ...)
Diffstat (limited to 'conf')
-rw-r--r-- | conf/conf.c | 2 | ||||
-rw-r--r-- | conf/conf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/conf.c b/conf/conf.c index 50e5944b..3fd10ad8 100644 --- a/conf/conf.c +++ b/conf/conf.c @@ -504,7 +504,7 @@ order_shutdown(void) * error in the configuration. */ void -cf_error(char *msg, ...) +cf_error(const char *msg, ...) { char buf[1024]; va_list args; diff --git a/conf/conf.h b/conf/conf.h index 1c4f7fce..8e490c7b 100644 --- a/conf/conf.h +++ b/conf/conf.h @@ -68,7 +68,7 @@ int config_commit(struct config *, int type, int timeout); int config_confirm(void); int config_undo(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_del_obstacle(struct config *); void order_shutdown(void); |