summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-02-28 09:48:35 +0000
committerJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-02-28 09:48:35 +0000
commit5426994398b97ac76fa5cc107ceafb7a67f2364a (patch)
tree475baeac7ae2ec84e52708334d5b34d1c4179c62 /firmware/export
parenta5fbdbb73fe641813fb5220c3f5f1bfedc14c9b6 (diff)
Better definition & usage of the ATTRIBUTE_PRINTF macro
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6080 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/panic.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/export/panic.h b/firmware/export/panic.h
index fd63687606..fa8f854cd5 100644
--- a/firmware/export/panic.h
+++ b/firmware/export/panic.h
@@ -20,6 +20,8 @@
#ifndef __PANIC_H__
#define __PANIC_H__
-void panicf( const char *fmt, ... );
+#include "_ansi.h"
+
+void panicf( const char *fmt, ... ) ATTRIBUTE_PRINTF(1, 2);
#endif /* __PANIC_H__ */