projects
/
profile
/
ivi
/
eina.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adf255a
)
Use gnu_printf attribute to detect wrong usage of printf family functions
author
caro
<caro>
Fri, 17 Feb 2012 20:52:15 +0000
(20:52 +0000)
committer
caro
<caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 17 Feb 2012 20:52:15 +0000
(20:52 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@68086
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/include/eina_types.h
patch
|
blob
|
history
diff --git
a/src/include/eina_types.h
b/src/include/eina_types.h
index
48cb6d1
..
259d238
100644
(file)
--- a/
src/include/eina_types.h
+++ b/
src/include/eina_types.h
@@
-124,7
+124,7
@@
# endif
# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
-# define EINA_PRINTF(fmt, arg) __attribute__((__format__ (__printf__, fmt, arg)))
+# define EINA_PRINTF(fmt, arg) __attribute__((__format__ (__
gnu_
printf__, fmt, arg)))
# define EINA_SCANF(fmt, arg) __attribute__((__format__ (__scanf__, fmt, arg)))
# define EINA_FORMAT(fmt) __attribute__((__format_arg__(fmt)))
# define EINA_CONST __attribute__((__const__))