X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fcompat%2Ffutex.h;h=71b986774fe13d5be6662a5ef2a6a14c23cf3b4c;hb=f78f3df1b255162d62a68f31aba34b86528a029f;hp=446c7f1c56519227abbb28bc21deff70cd582d18;hpb=58f8447848dfbfa79367607af7845547d47a08d4;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;