diff options
Diffstat (limited to 'libitm/config/linux/futex.h')
-rw-r--r-- | libitm/config/linux/futex.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libitm/config/linux/futex.h b/libitm/config/linux/futex.h index c45c2ca1314..7275dbf5fd1 100644 --- a/libitm/config/linux/futex.h +++ b/libitm/config/linux/futex.h @@ -27,17 +27,13 @@ #ifndef GTM_FUTEX_H #define GTM_FUTEX_H 1 -#ifdef HAVE_ATTRIBUTE_VISIBILITY -# pragma GCC visibility push(hidden) -#endif +namespace GTM HIDDEN { #include "futex_bits.h" extern void futex_wait (int *addr, int val); extern void futex_wake (int *addr, int count); -#ifdef HAVE_ATTRIBUTE_VISIBILITY -# pragma GCC visibility pop -#endif +} #endif /* GTM_FUTEX_H */ |