X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Ffutex.h;h=06172d3d1f721bd6a6e4d02c34f67b4291a53d3d;hb=9f47aac89a87197f5f1ea18acdc160087ac58397;hp=902ceecf9a500e1db81ac359b5860db9343c7eb0;hpb=10544ee8af31afb239e3dfa71cb2fe09d3de3771;p=lttng-ust.git diff --git a/liblttng-ust/futex.h b/liblttng-ust/futex.h index 902ceecf..06172d3d 100644 --- a/liblttng-ust/futex.h +++ b/liblttng-ust/futex.h @@ -28,6 +28,8 @@ #include #include +#include "helper.h" + #ifdef __cplusplus extern "C" { #endif @@ -49,8 +51,10 @@ extern "C" { * (returns EINTR). */ +LTTNG_HIDDEN extern int lttng_ust_compat_futex_noasync(int32_t *uaddr, int op, int32_t val, const struct timespec *timeout, int32_t *uaddr2, int32_t val3); +LTTNG_HIDDEN extern int lttng_ust_compat_futex_async(int32_t *uaddr, int op, int32_t val, const struct timespec *timeout, int32_t *uaddr2, int32_t val3); @@ -144,7 +148,7 @@ static inline int lttng_ust_futex_async(int32_t *uaddr, int op, int32_t val, static inline int lttng_ust_futex_noasync(int32_t *uaddr, int op, int32_t val, const struct timespec *timeout, int32_t *uaddr2, int32_t val3) { - return futex_async(uaddr, op, val, timeout, uaddr2, val3); + return lttng_ust_futex_async(uaddr, op, val, timeout, uaddr2, val3); } #elif defined(__CYGWIN__)