X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Fust-helper.h;h=609a1028642bf946948f9ac10073409c96876d3a;hb=8a36ff81a49e70d53e56942ea7d5db4f49b185f0;hp=e529ba08bc5f2bd0e101e8dbdf5228eba62dd39d;hpb=864a1eda22ed99266509ac76451c6f27f91aa17e;p=lttng-ust.git diff --git a/include/ust-helper.h b/include/ust-helper.h index e529ba08..609a1028 100644 --- a/include/ust-helper.h +++ b/include/ust-helper.h @@ -43,15 +43,4 @@ void *zmalloc(size_t len) #define LTTNG_UST_CALLER_IP() __builtin_return_address(0) #endif /* #else #if defined(__PPC__) && !defined(__PPC64__) */ -/* - * LTTNG_HIDDEN: set the hidden attribute for internal functions - * On Windows, symbols are local unless explicitly exported, - * see https://gcc.gnu.org/wiki/Visibility - */ -#if defined(_WIN32) || defined(__CYGWIN__) -#define LTTNG_HIDDEN -#else -#define LTTNG_HIDDEN __attribute__((visibility("hidden"))) -#endif - #endif /* _LTTNG_UST_HELPER_H */