Reset version to "git".
[paraslash.git] / gcc-compat.h
1 # define inline         inline __attribute__ ((always_inline))
2 # define __noreturn     __attribute__ ((noreturn))
3 # define __malloc       __attribute__ ((malloc))
4 # define __a_unused     __attribute__ ((unused))
5 /*
6  * p is the number of the "format string" parameter, and q is
7  * the number of the first variadic parameter.
8  */
9 # define __printf(p,q) __attribute__ ((format (printf, p, q)))
10 /*
11  * as direct use of __printf(p,q) confuses doxygen, here are two extra macros
12  * for those values p,q that are actually used by paraslash.
13  */
14 #define  __printf_1_2 __printf(1,2)
15 #define  __printf_2_3 __printf(2,3)
16
17 # if __GNUC__ > 3  || (__GNUC__ == 3 && __GNUC_MINOR__ > 3)
18 # define __must_check   __attribute__ ((warn_unused_result))
19 # else
20 # define __must_check   /* no warn_unused_result */
21 # endif
22
23 #define _static_inline_ static inline