X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=inline;f=liblttng-ust-dl%2Flttng-ust-dl.c;h=1394ce1963fce5e31ec53dc41e1b39ebf21237c3;hb=c53279a3e7796da67c5ad8d5e5657bf03def2dcb;hp=7d78f1d06ef0e77cca51e3dcdbde3f06659c9e72;hpb=cbba5e044240cd4e5b90b1a312cb1cd692e027ea;p=lttng-ust.git diff --git a/liblttng-ust-dl/lttng-ust-dl.c b/liblttng-ust-dl/lttng-ust-dl.c index 7d78f1d0..1394ce19 100644 --- a/liblttng-ust-dl/lttng-ust-dl.c +++ b/liblttng-ust-dl/lttng-ust-dl.c @@ -14,7 +14,7 @@ #include #include -#include +#include #include #include #include "usterr-signal-safe.h" @@ -34,7 +34,10 @@ static void *(*__lttng_ust_plibc_dlmopen)(Lmid_t nsid, const char *filename, #endif static int (*__lttng_ust_plibc_dlclose)(void *handle); -static __attribute__((constructor)) +static +void _lttng_ust_dl_init(void) + __attribute__((constructor)); +static void _lttng_ust_dl_init(void) { ust_err_init();