X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Furcu-bp.c;fp=src%2Furcu-bp.c;h=8b97b707c74a7decf23738e5fca1f1e8e411b176;hb=04ab0de39e8a8f7c70fce56b42b8fab2d42df7ea;hp=ff6b3a70e151f3ef1a203f6871ac29c23a9d0697;hpb=1a93fffc1204c6cd94ba62bf2448a612ac27ad39;p=urcu.git diff --git a/src/urcu-bp.c b/src/urcu-bp.c index ff6b3a7..8b97b70 100644 --- a/src/urcu-bp.c +++ b/src/urcu-bp.c @@ -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));