Turn config_save_keybinds into static function, if 0 it out since

it is not used right now
This commit is contained in:
twinaphex 2016-01-21 03:43:32 +01:00
parent 42d0c1f213
commit f4d3f47a0a
2 changed files with 3 additions and 11 deletions

View File

@ -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
/**

View File

@ -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.