X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Flttng%2Fust-libc-wrapper.h;h=0853997bd838f79b277cb7681dd4a34b6c5f897b;hb=4c155a06d838e1ab5d385abd1d73ae56e71b7d5e;hp=685ebfbdde5bea09e33d2dfd69077a2aead30648;hpb=d1f1110f9563855ede8d1511a4db3b89630ebc1e;p=lttng-ust.git diff --git a/include/lttng/ust-libc-wrapper.h b/include/lttng/ust-libc-wrapper.h index 685ebfbd..0853997b 100644 --- a/include/lttng/ust-libc-wrapper.h +++ b/include/lttng/ust-libc-wrapper.h @@ -20,6 +20,7 @@ * function in liblttng-ust that is overridden by the one in * liblttng-ust-wrapper-libc when it's preloaded. */ -void lttng_ust_libc_wrapper_malloc_init(void); +void lttng_ust_libc_wrapper_malloc_ctor(void) + __attribute__((constructor)); #endif