X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Fusterr-signal-safe.h;h=6123c0b3a54bed820f36fbc74d93a1fed661646f;hb=1d18d519668cd559dcafa1f18113edceb2418ed0;hp=50137617f6b99c494b22d90df7b54114c6dace14;hpb=106ff4dab82c51bd7bf022220bf43f15fb04f8bc;p=lttng-ust.git diff --git a/include/usterr-signal-safe.h b/include/usterr-signal-safe.h index 50137617..6123c0b3 100644 --- a/include/usterr-signal-safe.h +++ b/include/usterr-signal-safe.h @@ -24,11 +24,11 @@ enum ust_err_loglevel { UST_ERR_LOGLEVEL_DEBUG, }; -__attribute__((visibility("hidden"))) -extern volatile enum ust_err_loglevel ust_err_loglevel; +extern volatile enum ust_err_loglevel ust_err_loglevel + __attribute__((visibility("hidden"))); -__attribute__((visibility("hidden"))) -void ust_err_init(void); +void ust_err_init(void) + __attribute__((visibility("hidden"))); #ifdef LTTNG_UST_DEBUG static inline bool ust_err_debug_enabled(void)