context callstack: Add missing static
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 9 May 2024 17:49:08 +0000 (13:49 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 9 May 2024 17:49:08 +0000 (13:49 -0400)
lttng_cs_event_fields() is only used within the compile unit, mark it
static.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I3435c6de411a0671de86ecdbcb3e1ea019d908e6

src/lttng-context-callstack.c

index 5034d8a71bd644b6811b97c8cd7ae6ae769a6301..4385472e092f0df5a5e35ae361befad8f2060ae8 100644 (file)
@@ -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) {
This page took 0.027913 seconds and 4 git commands to generate.