From: Andre Noll Date: Sun, 8 May 2016 23:10:54 +0000 (+0200) Subject: gcc-compat.h: Remove gcc-3 workaround. X-Git-Tag: v0.5.6~20 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=12078f149febaa15e29ecfde2884e2905cb2b34e gcc-compat.h: Remove gcc-3 workaround. Since b0e2c4a9 we require gcc-4.2 or later, so this is no longer needed. --- 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 -