From: Mathieu Desnoyers Date: Thu, 9 May 2024 17:45:24 +0000 (-0400) Subject: ring buffer: Add missing static to function definitions X-Git-Tag: v2.13.13~13 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=c12d357c3f321a070c880e14718dd3756a4aa0e1;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 8a69e9ab..468d3bbc 100644 --- a/src/lib/ringbuffer/ring_buffer_frontend.c +++ b/src/lib/ringbuffer/ring_buffer_frontend.c @@ -2406,6 +2406,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; @@ -2417,6 +2418,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) { }