From 5b673efa121320d1575e126243fa2c7ec460952d Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 16 Feb 2016 13:31:41 +0100 Subject: Renamed config->read_file to config->load_file - The return value is now consistent with the libconfig standard (CONFIG_TRUE/CONFIG_FALSE). - Removed some redundant error messages. Signed-off-by: Haru --- src/common/conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/conf.h') diff --git a/src/common/conf.h b/src/common/conf.h index 8bec2704f..3bcb4526f 100644 --- a/src/common/conf.h +++ b/src/common/conf.h @@ -100,7 +100,7 @@ struct libconfig_interface { /* those are custom and are from src/common/conf.c */ /* Functions to copy settings from libconfig/contrib */ - int (*read_file) (config_t *config, const char *config_filename); + int (*load_file) (config_t *config, const char *config_filename); void (*setting_copy_simple) (config_setting_t *parent, const config_setting_t *src); void (*setting_copy_elem) (config_setting_t *parent, const config_setting_t *src); void (*setting_copy_aggregate) (config_setting_t *parent, const config_setting_t *src); -- cgit v1.2.3-70-g09d2