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/corefile.h | |
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/corefile.h')
-rw-r--r-- | src/lib/util/corefile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/corefile.h b/src/lib/util/corefile.h index dc9e69ce9f5..7e69809579e 100644 --- a/src/lib/util/corefile.h +++ b/src/lib/util/corefile.h @@ -100,7 +100,7 @@ int core_fputs(core_file *f, const char *s); /* printf-style text write to a file */ int core_vfprintf(core_file *f, const char *fmt, va_list va); -int CLIB_DECL core_fprintf(core_file *f, const char *fmt, ...); +int CLIB_DECL core_fprintf(core_file *f, const char *fmt, ...) ATTR_PRINTF(2,3); |