diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2011-04-17 11:23:48 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2011-04-17 11:23:48 +0000 |
commit | 204a2e920acd94090e5be12b009fc71ddee8fabc (patch) | |
tree | 360605ecd71f072556109a343b92d72cfb894a53 /apps | |
parent | 837b8ccce0d7045076d629445d58aa6725fdf5d4 (diff) | |
download | rockbox-204a2e920acd94090e5be12b009fc71ddee8fabc.tar.gz rockbox-204a2e920acd94090e5be12b009fc71ddee8fabc.zip |
Move declaration of global function cfg_string_to_int to header file settings.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29737 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 1 | ||||
-rw-r--r-- | apps/settings.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 2370a38eab..fbea2963f2 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -1069,7 +1069,6 @@ static const struct touchaction touchactions[] = { {"presets", ACTION_FM_PRESET}, #endif }; -bool cfg_string_to_int(int setting_id, int* out, const char* str); static int parse_touchregion(struct skin_element *element, struct wps_token *token, diff --git a/apps/settings.h b/apps/settings.h index 7dca65ad9a..3f49cfcb2c 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -232,6 +232,7 @@ enum optiontype { INT, BOOL }; const struct settings_list* find_setting(const void* variable, int *id); bool cfg_int_to_string(int setting_id, int val, char* buf, int buf_len); +bool cfg_string_to_int(int setting_id, int* out, const char* str); bool cfg_to_string(int setting_id, char* buf, int buf_len); bool set_bool_options(const char* string, const bool* variable, const char* yes_str, int yes_voice, |