lttng-events: Add missing static
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 9 May 2024 17:50:19 +0000 (13:50 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 9 May 2024 17:52:30 +0000 (13:52 -0400)
get_tracker() and lttng_metadata_printf() are only used within the
compile unit, mark them as static.

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

src/lttng-events.c

index a0bd232228c8dd6a3120134bce7cd16d2c5db33e..b8fa11e39469cde9a902e00120c4b29bb9c64a0f 100644 (file)
@@ -1547,6 +1547,7 @@ void _lttng_event_destroy(struct lttng_kernel_event_common *event)
        }
 }
 
+static
 struct lttng_kernel_id_tracker *get_tracker(struct lttng_kernel_session *session,
                enum tracker_type tracker_type)
 {
@@ -2818,6 +2819,7 @@ void lttng_metadata_end(struct lttng_kernel_session *session)
  * The content of the printf is printed as a single atomic metadata
  * transaction.
  */
+static
 int lttng_metadata_printf(struct lttng_kernel_session *session,
                          const char *fmt, ...)
 {
This page took 0.027633 seconds and 4 git commands to generate.