X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=gcc-compat.h;h=729e3ae1656deec60e6cafa37877db823e3c4852;hp=dd6afe1d4fb25c73190626ee9206da43a67ffd6f;hb=53d5ac455d0616a5ee8867c986631ed34c177a42;hpb=01a7db579a518a1a03b940a5a42411e49123ac1b diff --git a/gcc-compat.h b/gcc-compat.h index dd6afe1d..729e3ae1 100644 --- a/gcc-compat.h +++ b/gcc-compat.h @@ -21,11 +21,5 @@ #define __printf_2_3 __printf(2,3) #define __printf_3_4 __printf(3,4) -# 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 __must_check __attribute__ ((warn_unused_result)) #define _static_inline_ static inline -