From: Simon Marchi Date: Sat, 5 Oct 2019 02:46:17 +0000 (-0400) Subject: src.ctf.lttng-live: make lttng_live_component_create static X-Git-Tag: v2.0.0-rc1~50 X-Git-Url: https://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=9e66042849916de18474fd7a98a73f017c2923f7 src.ctf.lttng-live: make lttng_live_component_create static This function is not used outside this file, so make it static. Change-Id: If2836f7eea7c8243d26088b4e026b31a4ed8c82d Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/2139 Reviewed-by: Francis Deslauriers --- diff --git a/src/plugins/ctf/lttng-live/lttng-live.c b/src/plugins/ctf/lttng-live/lttng-live.c index b6c763d8..d07c84fc 100644 --- a/src/plugins/ctf/lttng-live/lttng-live.c +++ b/src/plugins/ctf/lttng-live/lttng-live.c @@ -1751,6 +1751,7 @@ enum session_not_found_action parse_session_not_found_action_param( return action; } +static struct lttng_live_component *lttng_live_component_create(const bt_value *params, bt_logging_level log_level, bt_self_component *self_comp) {