summaryrefslogtreecommitdiff
path: root/firmware/export/panic.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/panic.h')
-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 fd63687..fa8f854 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__ */