diff options
author | Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com> | 2005-02-28 09:48:35 +0000 |
---|---|---|
committer | Jean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com> | 2005-02-28 09:48:35 +0000 |
commit | 5426994398b97ac76fa5cc107ceafb7a67f2364a (patch) | |
tree | 475baeac7ae2ec84e52708334d5b34d1c4179c62 /firmware/export | |
parent | a5fbdbb73fe641813fb5220c3f5f1bfedc14c9b6 (diff) | |
download | rockbox-5426994398b97ac76fa5cc107ceafb7a67f2364a.tar.gz rockbox-5426994398b97ac76fa5cc107ceafb7a67f2364a.zip |
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.h | 4 |
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 @@ | |||
20 | #ifndef __PANIC_H__ | 20 | #ifndef __PANIC_H__ |
21 | #define __PANIC_H__ | 21 | #define __PANIC_H__ |
22 | 22 | ||
23 | void panicf( const char *fmt, ... ); | 23 | #include "_ansi.h" |
24 | |||
25 | void panicf( const char *fmt, ... ) ATTRIBUTE_PRINTF(1, 2); | ||
24 | 26 | ||
25 | #endif /* __PANIC_H__ */ | 27 | #endif /* __PANIC_H__ */ |