1 #define HAVE_GNUC(maj, min) \
3 (__GNUC__ > maj || (__GNUC__ == maj && __GNUC_MINOR__ >= min))
6 # define __noreturn __attribute__ ((noreturn))
12 # define __malloc __attribute__ ((malloc))
18 # define __a_unused __attribute__ ((unused))
24 * p is the number of the "format string" parameter, and q is
25 * the number of the first variadic parameter
28 # define __printf(p,q) __attribute__ ((format (printf, p, q)))
30 # define __printf(p,q)
34 * as direct use of __printf(p,q) confuses doxygen, here are two extra macros
35 * for those values p,q that are actually used by paraslash.
37 #define __printf_1_2 __printf(1,2)
38 #define __printf_2_3 __printf(2,3)
41 # define __must_check __attribute__ ((warn_unused_result))
43 # define __must_check /* no warn_unused_result */
46 #define _static_inline_ static inline