fix: warnings on non-Linux platforms
[urcu.git] / include / urcu / futex.h
index f720cdc0db52ed41cd391bec9b570464492a026e..e89d319089fb894b1455b7d4cbaebf0888d76c32 100644 (file)
@@ -110,7 +110,9 @@ static inline int futex_async(int32_t *uaddr, int op, int32_t val,
 #include <sys/umtx.h>
 
 static inline int 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;
This page took 0.024007 seconds and 4 git commands to generate.