diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/gcc-plugins/gcc-common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/gcc-plugins/gcc-common.h b/scripts/gcc-plugins/gcc-common.h index 552d5efd7cb7..17f06079a712 100644 --- a/scripts/gcc-plugins/gcc-common.h +++ b/scripts/gcc-plugins/gcc-common.h | |||
| @@ -150,8 +150,12 @@ void print_gimple_expr(FILE *, gimple, int, int); | |||
| 150 | void dump_gimple_stmt(pretty_printer *, gimple, int, int); | 150 | void dump_gimple_stmt(pretty_printer *, gimple, int, int); |
| 151 | #endif | 151 | #endif |
| 152 | 152 | ||
| 153 | #ifndef __unused | ||
| 153 | #define __unused __attribute__((__unused__)) | 154 | #define __unused __attribute__((__unused__)) |
| 155 | #endif | ||
| 156 | #ifndef __visible | ||
| 154 | #define __visible __attribute__((visibility("default"))) | 157 | #define __visible __attribute__((visibility("default"))) |
| 158 | #endif | ||
| 155 | 159 | ||
| 156 | #define DECL_NAME_POINTER(node) IDENTIFIER_POINTER(DECL_NAME(node)) | 160 | #define DECL_NAME_POINTER(node) IDENTIFIER_POINTER(DECL_NAME(node)) |
| 157 | #define DECL_NAME_LENGTH(node) IDENTIFIER_LENGTH(DECL_NAME(node)) | 161 | #define DECL_NAME_LENGTH(node) IDENTIFIER_LENGTH(DECL_NAME(node)) |
