diff --git a/configuration.c b/configuration.c index 56fb20d8a6..7d3022873c 100644 --- a/configuration.c +++ b/configuration.c @@ -1742,7 +1742,15 @@ bool config_load_override(void) return false; } -bool core_unload_override(void) +/** + * config_unload_override: + * + * Unloads configuration overrides if overrides are active. + * + * + * Returns: false if there was an error. + */ + bool core_unload_override(void) { global_t *global = global_get_ptr(); settings_t *settings = config_get_ptr(); diff --git a/configuration.h b/configuration.h index 5a87f107d8..bddced4a04 100644 --- a/configuration.h +++ b/configuration.h @@ -412,6 +412,14 @@ void config_load(void); */ bool config_load_override(void); +/** + * config_unload_override: + * + * Unloads configuration overrides if overrides are active. + * + * + * Returns: false if there was an error. + */ bool config_unload_override(void); /**