1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Bertrik Sikken 2011-04-17 11:23:48 +00:00
parent 837b8ccce0
commit 204a2e920a
2 changed files with 1 additions and 1 deletions

View file

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

View file

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