From 1a7daab126471374841e41de7f7e590ab22f35c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Tvrd=C3=ADk?= Date: Wed, 9 Mar 2016 16:48:28 +0100 Subject: [PATCH] cf_error(char *msg, ...) -> cf_error(const char *msg, ...) --- conf/conf.c | 2 +- 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);