fix: warnings on non-Linux platforms
[userspace-rcu.git] / src / urcu-bp.c
index ff6b3a70e151f3ef1a203f6871ac29c23a9d0697..8b97b707c74a7decf23738e5fca1f1e8e411b176 100644 (file)
@@ -75,8 +75,10 @@ void *mremap_wrapper(void *old_address, size_t old_size,
  * This is not generic.
 */
 static
-void *mremap_wrapper(void *old_address, size_t old_size,
-               size_t new_size, int flags)
+void *mremap_wrapper(void *old_address __attribute__((unused)),
+               size_t old_size __attribute__((unused)),
+               size_t new_size __attribute__((unused)),
+               int flags)
 {
        assert(!(flags & MREMAP_MAYMOVE));
 
This page took 0.025407 seconds and 4 git commands to generate.