summaryrefslogtreecommitdiff
path: root/firmware/include
diff options
context:
space:
mode:
authorTomasz Malesinski <tomal@rockbox.org>2006-01-25 01:33:48 +0000
committerTomasz Malesinski <tomal@rockbox.org>2006-01-25 01:33:48 +0000
commit0868ac8cb22b557b742c1728f51312601826c270 (patch)
tree715a453d5fa075496aaec158205be77ff9c9b2ab /firmware/include
parente0bb10420d4beab02c7ea3f757e9c57b040c6bf4 (diff)
Added ATTRIBUTE_SCANF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8443 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/_ansi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/include/_ansi.h b/firmware/include/_ansi.h
index 449001f74d..00028169c0 100644
--- a/firmware/include/_ansi.h
+++ b/firmware/include/_ansi.h
@@ -73,5 +73,6 @@
#endif
#define ATTRIBUTE_PRINTF(fmt, arg1) _ATTRIBUTE( ( format( printf, fmt, arg1 ) ) )
+#define ATTRIBUTE_SCANF(fmt, arg1) _ATTRIBUTE( ( format( scanf, fmt, arg1 ) ) )
#endif /* _ANSIDECL_H_ */