From f0c4dc40b2e16a876b5b61986de5014a78f76a5c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 2 May 2021 00:07:21 -0400 Subject: sim: replace custom attributes with ansidecl.h A lot of this code predates the common attributes. We had already started migrating over piece by piece, so just do a pass across all the attributes and replace most of them. --- sim/common/sim-basics.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'sim/common/sim-basics.h') diff --git a/sim/common/sim-basics.h b/sim/common/sim-basics.h index 52c9b2f..e822fb2 100644 --- a/sim/common/sim-basics.h +++ b/sim/common/sim-basics.h @@ -51,15 +51,6 @@ #endif -/* Some versions of GCC include an attribute operator, define it */ - -#if !defined (__attribute__) -#if (!defined(__GNUC__) || (__GNUC__ < 2) || (__GNUC__ == 2 && __GNUC_MINOR__ < 6)) -#define __attribute__(arg) -#endif -#endif - - /* Global types that code manipulates */ struct hw; -- cgit v1.1