From c8e59d7361931ad2a3f3ba5911d7250a36bf4dfc Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 12 Sep 2020 15:56:24 -0700 Subject: modules/rtv: rename rtv_skip_module() Purely cosmetic change renaming to rtv_should_skip_module() since the function doesn't actually skip anything, it just determines the skip. --- src/modules/rtv/rtv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/modules/rtv/rtv.c b/src/modules/rtv/rtv.c index 010e741..9b46b79 100644 --- a/src/modules/rtv/rtv.c +++ b/src/modules/rtv/rtv.c @@ -188,7 +188,7 @@ static void setup_next_module(rtv_context_t *ctxt, unsigned ticks) } -static int rtv_skip_module(const rtv_context_t *ctxt, const rototiller_module_t *module) +static int rtv_should_skip_module(const rtv_context_t *ctxt, const rototiller_module_t *module) { if (module == &rtv_module || module == ctxt->snow_module) @@ -222,7 +222,7 @@ static void * rtv_create_context(unsigned ticks, unsigned num_cpus) ctxt->snow_module = rototiller_lookup_module("snow"); for (size_t i = 0; i < n_modules; i++) { - if (rtv_skip_module(ctxt, modules[i])) + if (rtv_should_skip_module(ctxt, modules[i])) continue; ctxt->modules[ctxt->n_modules++].module = modules[i]; -- cgit v1.2.3