diff options
Diffstat (limited to 'firmware/export/debug.h')
| -rw-r--r-- | firmware/export/debug.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/export/debug.h b/firmware/export/debug.h index ce556d6..ef56ea6 100644 --- a/firmware/export/debug.h +++ b/firmware/export/debug.h @@ -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__ |