From: Simon Marchi Date: Mon, 25 Nov 2019 20:40:35 +0000 (-0500) Subject: sessiond: make ltt_sessions_ht_alloc static X-Git-Tag: v2.12.0-rc1~199 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=f848281fda295e942622b7d0b44ee6ce15e72924;p=lttng-tools.git sessiond: make ltt_sessions_ht_alloc static Fixes: CC session.o /home/smarchi/src/lttng-tools/src/bin/lttng-sessiond/session.c:305:5: error: no previous declaration for ‘ltt_sessions_ht_alloc’ [-Werror=missing-declarations] int ltt_sessions_ht_alloc(void) ^~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Simon Marchi Change-Id: Iaf4ca32c1f6ca01fa7ad4a1bfc7edd81a90e6adc Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/session.c b/src/bin/lttng-sessiond/session.c index ed68d153f..a673fe31b 100644 --- a/src/bin/lttng-sessiond/session.c +++ b/src/bin/lttng-sessiond/session.c @@ -302,7 +302,7 @@ end: * * The session list lock must be held. */ -int ltt_sessions_ht_alloc(void) +static int ltt_sessions_ht_alloc(void) { int ret = 0;