From 204a2e920acd94090e5be12b009fc71ddee8fabc Mon Sep 17 00:00:00 2001 From: Bertrik Sikken Date: Sun, 17 Apr 2011 11:23:48 +0000 Subject: 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 --- apps/gui/skin_engine/skin_parser.c | 1 - apps/settings.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3