diff --git a/configuration.c b/configuration.c index d94002be54..d02c5ec77a 100644 --- a/configuration.c +++ b/configuration.c @@ -2412,6 +2412,7 @@ void config_load(void) config_load_core_specific(); } +#if 0 /** * config_save_keybinds_file: * @path : Path that shall be written to. @@ -2420,7 +2421,7 @@ void config_load(void) * * Returns: true (1) on success, otherwise returns false (0). **/ -bool config_save_keybinds_file(const char *path) +static bool config_save_keybinds_file(const char *path) { unsigned i = 0; bool ret = false; @@ -2441,6 +2442,7 @@ bool config_save_keybinds_file(const char *path) config_file_free(conf); return ret; } +#endif /** diff --git a/configuration.h b/configuration.h index 1baa841068..01e06498c8 100644 --- a/configuration.h +++ b/configuration.h @@ -521,16 +521,6 @@ bool config_unload_override(void); */ bool config_load_remap(void); -/** - * config_save_keybinds_file: - * @path : Path that shall be written to. - * - * Writes a keybinds config file to disk. - * - * Returns: true (1) on success, otherwise returns false (0). - **/ -bool config_save_keybinds_file(const char *path); - /** * config_save_autoconf_profile: * @path : Path that shall be written to.