summaryrefslogtreecommitdiff
path: root/src/til.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-05-30 15:23:25 -0700
committerVito Caputo <vcaputo@pengaru.com>2023-05-30 15:23:25 -0700
commit58c2cb3cf89a9eb1fa572051881256594a36eaac (patch)
tree045fb9e25df1945e4310821ffcdfce70b83fba33 /src/til.c
parent249112803107d6341b5eb67caf5b730d3cc14d4f (diff)
til: s/til_module_randomize_setup/til_module_setup_randomize/
Mechanical rename just to make this consistent with til_module_setup()/til_module_setup_finalize() I should probably do a cleanup pass throughout the til APIs to standardize on a subject-verb-object or subject-object-verb order... Things have become a little inconsistent organically over time
Diffstat (limited to 'src/til.c')
-rw-r--r--src/til.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/til.c b/src/til.c
index 26738d8..c680db8 100644
--- a/src/til.c
+++ b/src/til.c
@@ -308,11 +308,10 @@ int til_module_setup(const til_settings_t *settings, til_setting_t **res_setting
}
-/* TODO: rename to til_module_setup_randomize() */
/* originally taken from rtv, this randomizes a module's setup @res_setup, args @res_arg
* returns 0 on on setup successful with results stored @res_*, -errno on error.
*/
-int til_module_randomize_setup(const til_module_t *module, unsigned seed, til_setup_t **res_setup, char **res_arg)
+int til_module_setup_randomize(const til_module_t *module, unsigned seed, til_setup_t **res_setup, char **res_arg)
{
til_settings_t *settings;
til_setting_t *setting;
© All Rights Reserved