#include <time.h>
#include <sys/syscall.h>
+#include "helper.h"
+
#ifdef __cplusplus
extern "C" {
#endif
* (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);
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__)