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:
parent
1329d7d3fd
commit
79c8a8cbbe
20 changed files with 55 additions and 49 deletions
|
@ -19,9 +19,12 @@
|
|||
#ifndef DEBUG_H
|
||||
#define DEBUG_H
|
||||
|
||||
#include <_ansi.h>
|
||||
|
||||
extern void debug_init(void);
|
||||
extern void debugf(const char* fmt,...);
|
||||
extern void ldebugf(const char* file, int line, const char *fmt, ...);
|
||||
extern void debugf(const char* fmt,...) ATTRIBUTE_PRINTF(1, 2);
|
||||
extern void ldebugf(const char* file, int line, const char *fmt, ...)
|
||||
ATTRIBUTE_PRINTF(3, 4);
|
||||
|
||||
#ifdef __GNUC__
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue