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 19:36:24 +0000 (15:36 -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 3c9251a00b943ba76d9284dc0bc6b8a757cdd911..314fb3ecb02b397f47d51e164dc4166aef259e70 100644 (file)
@@ -1717,6 +1717,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)
 {
@@ -3027,6 +3028,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.028285 seconds and 4 git commands to generate.