1
0
Fork 0
forked from len0rd/rockbox

Let GCC check arguments of some more printf-style functions, also for plugins and codecs.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12815 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2007-03-17 09:02:53 +00:00
parent 1329d7d3fd
commit 79c8a8cbbe
20 changed files with 55 additions and 49 deletions

View file

@ -25,10 +25,9 @@
#include <_ansi.h>
int snprintf (char *buf, size_t size, const char *fmt, ...)
ATTRIBUTE_PRINTF(3, 4);
ATTRIBUTE_PRINTF(3, 4);
int vsnprintf (char *buf, int size, const char *fmt, va_list ap);
int fdprintf (int fd, const char *fmt, ...)
ATTRIBUTE_PRINTF(2, 3);
int fdprintf (int fd, const char *fmt, ...) ATTRIBUTE_PRINTF(2, 3);
#endif /* __SPRINTF_H__ */