From: Michael Jeanson Date: Tue, 9 Mar 2021 21:35:20 +0000 (-0500) Subject: Hide ust_lock private symbols X-Git-Tag: v2.13.0-rc1~325 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8aa7600328b791372e17af3da750989bfeb96d1a;p=lttng-ust.git Hide ust_lock private symbols The major SONAME bump to '1' gives us the opportunity to hide private symbols that should never have been visible. Change-Id: I1dbe60bba35dffd8c36db7f9145a80a9ab56ab3e Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust/lttng-tracer-core.h b/liblttng-ust/lttng-tracer-core.h index 7447f96e..7bfa2d60 100644 --- a/liblttng-ust/lttng-tracer-core.h +++ b/liblttng-ust/lttng-tracer-core.h @@ -34,8 +34,11 @@ struct lttng_ust_lib_ring_buffer_ctx; struct lttng_ctx_value; struct lttng_event_notifier; +LTTNG_HIDDEN int ust_lock(void) __attribute__ ((warn_unused_result)); +LTTNG_HIDDEN void ust_lock_nocheck(void); +LTTNG_HIDDEN void ust_unlock(void); void lttng_fixup_event_tls(void);