summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/montage/montage.c2
-rw-r--r--src/modules/rkt/rkt.c2
-rw-r--r--src/modules/rtv/rtv.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/montage/montage.c b/src/modules/montage/montage.c
index 301f323..08fd1b3 100644
--- a/src/modules/montage/montage.c
+++ b/src/modules/montage/montage.c
@@ -90,7 +90,7 @@ static til_module_context_t * montage_create_context(const til_module_t *module,
const til_module_t *module = ctxt->modules[i];
til_setup_t *setup = NULL;
- (void) til_module_randomize_setup(module, rand_r(&seed), &setup, NULL);
+ (void) til_module_setup_randomize(module, rand_r(&seed), &setup, NULL);
/* FIXME errors */
(void) til_module_create_context(module, stream, rand_r(&seed), ticks, 1, setup, &ctxt->contexts[i]);
diff --git a/src/modules/rkt/rkt.c b/src/modules/rkt/rkt.c
index e76070a..77b3b49 100644
--- a/src/modules/rkt/rkt.c
+++ b/src/modules/rkt/rkt.c
@@ -75,7 +75,7 @@ static til_module_context_t * rkt_create_context(const til_module_t *module, til
{
til_setup_t *module_setup = NULL;
- (void) til_module_randomize_setup(ctxt->seq_module, rand_r(&seed), &module_setup, NULL);
+ (void) til_module_setup_randomize(ctxt->seq_module, rand_r(&seed), &module_setup, NULL);
(void) til_module_create_context(ctxt->seq_module, stream, rand_r(&seed), ticks, 0, module_setup, &ctxt->seq_module_ctxt);
til_setup_free(module_setup);
diff --git a/src/modules/rtv/rtv.c b/src/modules/rtv/rtv.c
index c3555c5..9d006bc 100644
--- a/src/modules/rtv/rtv.c
+++ b/src/modules/rtv/rtv.c
@@ -174,7 +174,7 @@ static void setup_next_channel(rtv_context_t *ctxt, unsigned ticks)
char *settings_as_arg = NULL;
txt_t *caption;
- (void) til_module_randomize_setup(ctxt->channel->module, rand_r(&ctxt->til_module_context.seed), &ctxt->channel->module_setup, &settings_as_arg);
+ (void) til_module_setup_randomize(ctxt->channel->module, rand_r(&ctxt->til_module_context.seed), &ctxt->channel->module_setup, &settings_as_arg);
caption = txt_newf("Title: %s%s%s\nDescription: %s%s%s",
ctxt->channel->module->name,
ctxt->channel->module->author ? "\nAuthor: " : "",
© All Rights Reserved