diff options
author | Nils Wallménius <nils@rockbox.org> | 2007-08-19 10:22:46 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2007-08-19 10:22:46 +0000 |
commit | 9b591839531b77948b19191a50f816a6806e20e5 (patch) | |
tree | 06a08ff0926403f2e507e51f3ce708d4df7b81b1 /apps/settings.h | |
parent | 24b85ff1e3481abaa2271b26a64131c52fd36322 (diff) | |
download | rockbox-9b591839531b77948b19191a50f816a6806e20e5.tar.gz rockbox-9b591839531b77948b19191a50f816a6806e20e5.zip |
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
Diffstat (limited to 'apps/settings.h')
-rw-r--r-- | apps/settings.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/settings.h b/apps/settings.h index 8d9646ff6d..0dd21a33eb 100644 --- a/apps/settings.h +++ b/apps/settings.h @@ -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 */ |