From 12078f149febaa15e29ecfde2884e2905cb2b34e Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 9 May 2016 01:10:54 +0200 Subject: [PATCH] gcc-compat.h: Remove gcc-3 workaround. Since b0e2c4a9 we require gcc-4.2 or later, so this is no longer needed. --- gcc-compat.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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 - -- 2.39.5