diff options
author | 2008-01-03 05:37:18 +0000 | |
---|---|---|
committer | 2008-01-03 05:37:18 +0000 | |
commit | 422ccce762edc5e328f07ffa42ada1d72676e616 (patch) | |
tree | 781dd7745b5d4992fae44724c55b902e125586b8 /src/lib/util/options.c | |
parent | 25eee632f605f5e80ba5b076566b39e46078b4a9 (diff) |
(From Oliver Stoneberg)
This is an updated version of my earlier ATTR_PRINTF patch. It was
reviewed by Atari Ace to use ATTR_PRINTF properly and fixes even more
format errors. I also reviewed the whole source again and it is now
used in all possible places.
Diffstat (limited to 'src/lib/util/options.c')
-rw-r--r-- | src/lib/util/options.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util/options.c b/src/lib/util/options.c index e090cae0399..e03b183436d 100644 --- a/src/lib/util/options.c +++ b/src/lib/util/options.c @@ -100,9 +100,9 @@ static options_data *find_entry_data(core_options *opts, const char *string, int static void update_data(core_options *opts, options_data *data, const char *newdata, int priority); static int parse_option_name(core_options *opts, const char *srcstring, options_data *data); -static void message(core_options *opts, options_message msgtype, const char *format, ...); +static void message(core_options *opts, options_message msgtype, const char *format, ...) ATTR_PRINTF(3,4); static UINT32 hash_value(core_options *opts, const char *str); -static void output_printf(void (*output)(const char *s), const char *format, ...); +static void output_printf(void (*output)(const char *s), const char *format, ...) ATTR_PRINTF(2,3); |