From: Mathieu Desnoyers Date: Thu, 9 May 2024 17:45:24 +0000 (-0400) Subject: ring buffer: Add missing static to function definitions X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c4d6de426e681f6760a883fe47f2b6c52075b021;p=lttng-modules.git ring buffer: Add missing static to function definitions Signed-off-by: Mathieu Desnoyers Change-Id: I80c03d8c8879777e37d24c3574ba7bdea512446a --- diff --git a/src/lib/ringbuffer/ring_buffer_frontend.c b/src/lib/ringbuffer/ring_buffer_frontend.c index 5e072883..df0705cb 100644 --- a/src/lib/ringbuffer/ring_buffer_frontend.c +++ b/src/lib/ringbuffer/ring_buffer_frontend.c @@ -2416,6 +2416,7 @@ void lib_ring_buffer_check_deliver_slow(const struct lttng_kernel_ring_buffer_co } EXPORT_SYMBOL_GPL(lib_ring_buffer_check_deliver_slow); +static int __init init_lib_ring_buffer_frontend(void) { int cpu; @@ -2427,6 +2428,7 @@ int __init init_lib_ring_buffer_frontend(void) module_init(init_lib_ring_buffer_frontend); +static void __exit exit_lib_ring_buffer_frontend(void) { }