X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Ffutex.h;h=71b986774fe13d5be6662a5ef2a6a14c23cf3b4c;hb=e2a195a6849f8d95a6583387b8ffbd8db8b95f9c;hp=446c7f1c56519227abbb28bc21deff70cd582d18;hpb=4f86e0d0b5debc0d9c56fe9ac76b27b6a215fa4c;p=lttng-ust.git diff --git a/src/common/compat/futex.h b/src/common/compat/futex.h index 446c7f1c..71b98677 100644 --- a/src/common/compat/futex.h +++ b/src/common/compat/futex.h @@ -99,7 +99,9 @@ static inline int lttng_ust_futex_async(int32_t *uaddr, int op, int32_t val, #include static inline int lttng_ust_futex_async(int32_t *uaddr, int op, int32_t val, - const struct timespec *timeout, int32_t *uaddr2, int32_t val3) + const struct timespec *timeout, + int32_t *uaddr2 __attribute__((unused)), + int32_t val3 __attribute__((unused))) { int umtx_op; void *umtx_uaddr = NULL, *umtx_uaddr2 = NULL;