From: Mathieu Desnoyers Date: Wed, 20 Mar 2013 18:07:17 +0000 (-0400) Subject: Cleanup compile warning X-Git-Tag: v2.2.0-rc1~47 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=08a3170cf905550ba1467a35981ffa5e13495e57;p=lttng-ust.git Cleanup compile warning ustctl.c: In function 'ustctl_init': ustctl.c:1772:2: warning: implicit declaration of function 'lttng_ring_buffer_client_overwrite_rt_init' [-Wimplicit-function-declaration] ustctl.c:1774:2: warning: implicit declaration of function 'lttng_ring_buffer_client_discard_rt_init' [-Wimplicit-function-declaration] ustctl.c: In function 'ustctl_exit': ustctl.c:1781:2: warning: implicit declaration of function 'lttng_ring_buffer_client_discard_rt_exit' [-Wimplicit-function-declaration] ustctl.c:1783:2: warning: implicit declaration of function 'lttng_ring_buffer_client_overwrite_rt_exit' [-Wimplicit-function-declaration] Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust-ctl/ustctl.c b/liblttng-ust-ctl/ustctl.c index 67aae682..760e0403 100644 --- a/liblttng-ust-ctl/ustctl.c +++ b/liblttng-ust-ctl/ustctl.c @@ -63,10 +63,14 @@ struct ustctl_consumer_stream { }; extern void lttng_ring_buffer_client_overwrite_init(void); +extern void lttng_ring_buffer_client_overwrite_rt_init(void); extern void lttng_ring_buffer_client_discard_init(void); +extern void lttng_ring_buffer_client_discard_rt_init(void); extern void lttng_ring_buffer_metadata_client_init(void); extern void lttng_ring_buffer_client_overwrite_exit(void); +extern void lttng_ring_buffer_client_overwrite_rt_exit(void); extern void lttng_ring_buffer_client_discard_exit(void); +extern void lttng_ring_buffer_client_discard_rt_exit(void); extern void lttng_ring_buffer_metadata_client_exit(void); volatile enum ust_loglevel ust_loglevel;