X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=gcc-compat.h;h=729e3ae1656deec60e6cafa37877db823e3c4852;hp=5d207288359f5b9151c6ca55ab54d00b4669b533;hb=e79198e9851faddfd64e47654b5bc66fbc574255;hpb=3e6bba778c867a8977704b5c15e52fa18fb0d900 diff --git a/gcc-compat.h b/gcc-compat.h index 5d207288..729e3ae1 100644 --- a/gcc-compat.h +++ b/gcc-compat.h @@ -16,15 +16,10 @@ * As direct use of __printf(p,q) confuses doxygen, here are some extra macros * for those values p,q that are actually used. */ -#define __printf_2_0 __printf(2,0) -#define __printf_1_2 __printf(1,2) -#define __printf_2_3 __printf(2,3) - -# if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3) -# define __must_check __attribute__ ((warn_unused_result)) -# else -# define __must_check /* no warn_unused_result */ -# endif +#define __printf_2_0 __printf(2,0) +#define __printf_1_2 __printf(1,2) +#define __printf_2_3 __printf(2,3) +#define __printf_3_4 __printf(3,4) +#define __must_check __attribute__ ((warn_unused_result)) #define _static_inline_ static inline -