diff options
author | Joerg Roedel <jroedel@suse.de> | 2019-06-03 13:00:40 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-06-03 13:00:40 +0200 |
commit | 2de03c11171544bd23e18539f65b3b561d57ff76 (patch) | |
tree | e207052e8cbb53f587c260617c16f97fa9f7d05d /scripts/gcc-plugins/gcc-common.h | |
parent | e314a7c92b3217e893cbe03b944c7afc9cbd3e4c (diff) | |
parent | f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a (diff) | |
download | blackbird-op-linux-2de03c11171544bd23e18539f65b3b561d57ff76.tar.gz blackbird-op-linux-2de03c11171544bd23e18539f65b3b561d57ff76.zip |
Merge tag 'v5.2-rc3' into x86/vt-d
Linux 5.2-rc3
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
-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); void dump_gimple_stmt(pretty_printer *, gimple, int, int); #endif +#ifndef __unused #define __unused __attribute__((__unused__)) +#endif +#ifndef __visible #define __visible __attribute__((visibility("default"))) +#endif #define DECL_NAME_POINTER(node) IDENTIFIER_POINTER(DECL_NAME(node)) #define DECL_NAME_LENGTH(node) IDENTIFIER_LENGTH(DECL_NAME(node)) |