From eb9a7857efa6d55e347b81383a7948d72214e574 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sat, 16 Jul 2011 14:43:54 -0400 Subject: [PATCH] cleanup: write event header slow should be static Signed-off-by: Mathieu Desnoyers --- ltt-ring-buffer-client.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ltt-ring-buffer-client.h b/ltt-ring-buffer-client.h index 5173b23b..974a696f 100644 --- a/ltt-ring-buffer-client.h +++ b/ltt-ring-buffer-client.h @@ -149,7 +149,7 @@ unsigned char record_header_size(const struct lib_ring_buffer_config *config, #include "wrapper/ringbuffer/api.h" -extern +static void ltt_write_event_header_slow(const struct lib_ring_buffer_config *config, struct lib_ring_buffer_ctx *ctx, uint32_t event_id); @@ -207,6 +207,7 @@ slow_path: ltt_write_event_header_slow(config, ctx, event_id); } +static void ltt_write_event_header_slow(const struct lib_ring_buffer_config *config, struct lib_ring_buffer_ctx *ctx, uint32_t event_id) -- 2.34.1