X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=libringbuffer%2Fring_buffer_backend.c;h=6ba0d8b1d44fe4fbb4dbe8989e773a355691c4d2;hb=2208d8b5689264e35ed0a660d8c3c82021cc0367;hp=ac45446b8a4ea09525e63fc128b8a9d58039a8be;hpb=c53279a3e7796da67c5ad8d5e5657bf03def2dcb;p=lttng-ust.git diff --git a/libringbuffer/ring_buffer_backend.c b/libringbuffer/ring_buffer_backend.c index ac45446b..6ba0d8b1 100644 --- a/libringbuffer/ring_buffer_backend.c +++ b/libringbuffer/ring_buffer_backend.c @@ -33,7 +33,7 @@ static int lib_ring_buffer_backend_allocate(const struct lttng_ust_lib_ring_buffer_config *config, struct lttng_ust_lib_ring_buffer_backend *bufb, - size_t size, size_t num_subbuf, + size_t size __attribute__((unused)), size_t num_subbuf, int extra_reader_sb, struct lttng_ust_shm_handle *handle, struct shm_object *shmobj) @@ -395,8 +395,8 @@ end: * * Destroy all channel buffers and frees the channel. */ -void channel_backend_free(struct channel_backend *chanb, - struct lttng_ust_shm_handle *handle) +void channel_backend_free(struct channel_backend *chanb __attribute__((unused)), + struct lttng_ust_shm_handle *handle __attribute__((unused))) { /* SHM teardown takes care of everything */ }