From 5426994398b97ac76fa5cc107ceafb7a67f2364a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bernardy Date: Mon, 28 Feb 2005 09:48:35 +0000 Subject: Better definition & usage of the ATTRIBUTE_PRINTF macro git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6080 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/panic.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'firmware/export') 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__ */ -- cgit v1.2.3