X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-relayd%2Fctf-trace.c;h=7c39e85068733270ebd7599bfaa5b03e6ff60ca8;hp=fdd0a5d0d9d6d52c9075df7deb5867cf03d50c1b;hb=a1075e32c32bc39d2d8e3cb2458346c4afa6fc08;hpb=7b3f7be251130172712e02262d413e90f3252978 diff --git a/src/bin/lttng-relayd/ctf-trace.c b/src/bin/lttng-relayd/ctf-trace.c index fdd0a5d0d..7c39e8506 100644 --- a/src/bin/lttng-relayd/ctf-trace.c +++ b/src/bin/lttng-relayd/ctf-trace.c @@ -44,7 +44,7 @@ static void rcu_destroy_ctf_trace(struct rcu_head *rcu_head) * * MUST be called with the RCU read side lock. */ -void ctf_trace_destroy(struct ctf_trace *trace) +static void ctf_trace_destroy(struct ctf_trace *trace) { /* * Getting to this point, every stream referenced by that trace @@ -59,7 +59,7 @@ void ctf_trace_destroy(struct ctf_trace *trace) call_rcu(&trace->rcu_node, rcu_destroy_ctf_trace); } -void ctf_trace_release(struct urcu_ref *ref) +static void ctf_trace_release(struct urcu_ref *ref) { struct ctf_trace *trace = caa_container_of(ref, struct ctf_trace, ref);