summaryrefslogtreecommitdiff
path: root/include/common/debug.h
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2015-03-17 14:18:09 +0000
committerdanh-arm <dan.handley@arm.com>2015-03-17 14:18:09 +0000
commit420c524249b1305fcafe8beae858b2fd2e3680eb (patch)
tree45bc53b2df57fb17cdb39b2b72ec82934bb9a0cb /include/common/debug.h
parent1ab2e902409c36875029b863a9e64f9f13605e5f (diff)
parentdad25049cec0e30ca9771e435064ebf853d97bba (diff)
Merge pull request #262 from sandrine-bailleux/sb/check-format-printf
Enable type-checking of arguments passed to printf() et al.
Diffstat (limited to 'include/common/debug.h')
-rw-r--r--include/common/debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common/debug.h b/include/common/debug.h
index a8dcb8da..d198c321 100644
--- a/include/common/debug.h
+++ b/include/common/debug.h
@@ -84,6 +84,6 @@
void __dead2 do_panic(void);
#define panic() do_panic()
-void tf_printf(const char *fmt, ...);
+void tf_printf(const char *fmt, ...) __printflike(1, 2);
#endif /* __DEBUG_H__ */