From: Mathieu Desnoyers Date: Thu, 9 May 2024 17:49:08 +0000 (-0400) Subject: context callstack: Add missing static X-Git-Tag: v2.13.13~8 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4c673b5c5bb6f453079f380c3c826183205fc3a0;p=lttng-modules.git context callstack: Add missing static lttng_cs_event_fields() is only used within the compile unit, mark it static. Signed-off-by: Mathieu Desnoyers Change-Id: I3435c6de411a0671de86ecdbcb3e1ea019d908e6 --- diff --git a/src/lttng-context-callstack.c b/src/lttng-context-callstack.c index 5034d8a7..4385472e 100644 --- a/src/lttng-context-callstack.c +++ b/src/lttng-context-callstack.c @@ -120,6 +120,7 @@ static const struct lttng_kernel_event_field *event_fields_user[NR_FIELDS] = { false, false), }; +static const struct lttng_kernel_event_field **lttng_cs_event_fields(enum lttng_cs_ctx_modes mode) { switch (mode) {