mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Use size_t type for the buffer_size parameter to formatter functions, static two private functions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14392 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
24b85ff1e3
commit
9b59183953
9 changed files with 25 additions and 25 deletions
|
|
@ -275,12 +275,12 @@ bool set_option(const char* string, void* variable, enum optiontype type,
|
|||
bool set_int(const unsigned char* string, const char* unit, int voice_unit,
|
||||
int* variable,
|
||||
void (*function)(int), int step, int min, int max,
|
||||
void (*formatter)(char*, int, int, const char*) );
|
||||
void (*formatter)(char*, size_t, int, const char*) );
|
||||
/* use this one if you need to create a lang from the value (i.e with TALK_ID()) */
|
||||
bool set_int_ex(const unsigned char* string, const char* unit, int voice_unit,
|
||||
int* variable,
|
||||
void (*function)(int), int step, int min, int max,
|
||||
void (*formatter)(char*, int, int, const char*),
|
||||
void (*formatter)(char*, size_t, int, const char*),
|
||||
long (*get_talk_id)(int));
|
||||
|
||||
/* the following are either not in setting.c or shouldnt be */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue