X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Fust-helper.h;h=609a1028642bf946948f9ac10073409c96876d3a;hb=ddabe860f4cf41a4206a8157d83e6b9354f85cb5;hp=e529ba08bc5f2bd0e101e8dbdf5228eba62dd39d;hpb=d10a220587d0a41c85da916a65e9dfc9f61062fa;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 */