projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58785e0
)
Fix talloc's use of PRINTF_ATTRIBUTE clash.
author
Rusty Russell
<rusty@vivaldi>
Thu, 28 Feb 2008 03:08:21 +0000
(14:08 +1100)
committer
Rusty Russell
<rusty@vivaldi>
Thu, 28 Feb 2008 03:08:21 +0000
(14:08 +1100)
ccan_tools/libtap/src/tap.h
patch
|
blob
|
history
diff --git
a/ccan_tools/libtap/src/tap.h
b/ccan_tools/libtap/src/tap.h
index 4a8b346f222202610711700711fba112e097ca9f..9a14c69660a6c382c4283ab8bc7c28b226689204 100644
(file)
--- a/
ccan_tools/libtap/src/tap.h
+++ b/
ccan_tools/libtap/src/tap.h
@@
-54,11
+54,13
@@
# define skip_end } while(0)
+#ifndef PRINTF_ATTRIBUTE
#ifdef __GNUC__
#define PRINTF_ATTRIBUTE(a1, a2) __attribute__ ((format (__printf__, a1, a2)))
#else
#define PRINTF_ATTRIBUTE(a1, a2)
#endif
+#endif
unsigned int _gen_result(int, const char *, char *, unsigned int, char *, ...)
PRINTF_ATTRIBUTE(5, 6);