diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-09-12 15:56:24 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-09-12 15:56:24 -0700 |
commit | c8e59d7361931ad2a3f3ba5911d7250a36bf4dfc (patch) | |
tree | 89ab1032591ebc2fcc2576ed143f24c51c8196f3 /src/modules/rtv | |
parent | 82be2cce91dc1a7dca7e454959aa8f6e085e0787 (diff) |
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.
Diffstat (limited to 'src/modules/rtv')
-rw-r--r-- | src/modules/rtv/rtv.c | 4 |
1 files changed, 2 insertions, 2 deletions
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]; |