X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-ust-comm.c;fp=liblttng-ust%2Flttng-ust-comm.c;h=69ccd99d998968b3a7e75e3fc84d00e6ecb09523;hb=465a0d0493a126c09d0bf469369b8410d4bf73a9;hp=7e587499efd2b14ce484a54a232fde6e3a5f4401;hpb=8da9deee450bf62c6c3abb1f44f9414c0667dd6f;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ust-comm.c b/liblttng-ust/lttng-ust-comm.c index 7e587499..69ccd99d 100644 --- a/liblttng-ust/lttng-ust-comm.c +++ b/liblttng-ust/lttng-ust-comm.c @@ -2067,7 +2067,11 @@ void lttng_ust_libc_wrapper_malloc_init(void) * sessiond monitoring thread: monitor presence of global and per-user * sessiond by polling the application common named pipe. */ -void __attribute__((constructor)) lttng_ust_init(void) +static +void lttng_ust_init(void) + __attribute__((constructor)); +static +void lttng_ust_init(void) { struct timespec constructor_timeout; sigset_t sig_all_blocked, orig_parent_mask;