Fix: include: remove unneeded declaration of lttng_session_descriptor_get_session_name
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 21 Sep 2021 13:30:09 +0000 (09:30 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 23 Sep 2021 15:23:17 +0000 (11:23 -0400)
There is a declaration of lttng_session_descriptor_get_session_name in
both session-descriptor.h and session-descriptor-internal.h.  Since this
is a function exposed by the API, the one in -internal.h is not needed,
remove it.

Since the removed declaration had LTTNG_HIDDEN, this has the effect of
making the lttng_session_descriptor_get_session_name symbol of
liblttng-ctl exported / part of the ABI. I think it was a mistake that
it wasn't previously exported.

Change-Id: I79d383f012d161a6df42240c6849b1b3af109def
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/session-descriptor-internal.h

index c8e26a8560cd28ed4e5daf32cb0677a69660abed..96ba07c98aaf76693ca62c95a4091240a03af7bc 100644 (file)
@@ -69,12 +69,6 @@ unsigned long long
 lttng_session_descriptor_live_get_timer_interval(
                const struct lttng_session_descriptor *descriptor);
 
-LTTNG_HIDDEN
-enum lttng_session_descriptor_status
-lttng_session_descriptor_get_session_name(
-               const struct lttng_session_descriptor *descriptor,
-               const char **name);
-
 LTTNG_HIDDEN
 int lttng_session_descriptor_set_session_name(
                struct lttng_session_descriptor *descriptor,
This page took 0.026123 seconds and 4 git commands to generate.