From c2cd56d903a2f70c98bb9652a83e3eb4637a4819 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 27 Apr 2018 17:29:39 +0200 Subject: [PATCH] loop: inline frequently used function --- spa/plugins/support/loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/support/loop.c b/spa/plugins/support/loop.c index 2e5b72da6..381563a8b 100644 --- a/spa/plugins/support/loop.c +++ b/spa/plugins/support/loop.c @@ -325,7 +325,7 @@ static void loop_leave(struct spa_loop_control *ctrl) impl->thread = 0; } -static void process_destroy(struct impl *impl) +static inline void process_destroy(struct impl *impl) { struct source_impl *source, *tmp; spa_list_for_each_safe(source, tmp, &impl->destroy_list, link)