From 153980b65dec0addcd5cccf4bc6b240378355735 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 2 Oct 2007 14:44:36 +0200 Subject: [PATCH] gcc-compat.h: Remove compatibility code for gcc-2. gcc-2 is not supported any longer. --- gcc-compat.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/gcc-compat.h b/gcc-compat.h index 0ec8fdd7..5fea55d5 100644 --- a/gcc-compat.h +++ b/gcc-compat.h @@ -1,4 +1,3 @@ -#if __GNUC__ >= 3 # define inline inline __attribute__ ((always_inline)) # define __noreturn __attribute__ ((noreturn)) # define __malloc __attribute__ ((malloc)) @@ -19,21 +18,6 @@ #define __printf_1_2 __printf(1,2) #define __printf_2_3 __printf(2,3) -#else - -# define inline /* no inline */ -# define __noreturn /* no noreturn */ -# define __malloc /* no malloc */ -# define __used /* no used */ -# define __a_unused /* no unused */ -# define __packed /* no packed */ -# define likely(x) (x) -# define unlikely(x) (x) -# define __printf(p,q) /* no format */ -#define __printf_1_2 -#define __printf_2_3 -#endif - # if __GNUC__ >=3 && __GNUC_MINOR__ > 3 # define __must_check __attribute__ ((warn_unused_result)) # else -- 2.39.2