Commit 246bde09 authored by Rusty Russell's avatar Rusty Russell

Fix talloc's use of PRINTF_ATTRIBUTE clash.

parent 58785e0b
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment