mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
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.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user