From f4d3f47a0a078b1802efb5f10dafe65ebdfbb78f Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 21 Jan 2016 03:43:32 +0100 Subject: [PATCH] Turn config_save_keybinds into static function, if 0 it out since it is not used right now --- configuration.c | 4 +++- configuration.h | 10 ---------- 2 files changed, 3 insertions(+), 11 deletions(-) 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.