summaryrefslogtreecommitdiff
path: root/src/til_settings.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-04-22 12:42:01 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-04-22 12:42:01 -0700
commit0a798f421863d7c74bf7e8e6f37d8021e9df52f2 (patch)
treef84a4a3719678a44558a3504a8f8892b9b52c79d /src/til_settings.c
parent7f872664738b45c982f3e95749f2136a0de4c19a (diff)
til: make til_module_randomize_setup() return -errno
This makes the arg return optional by using a res_arg pointer, instead returning -ENOMEM when it would have returned NULL on allocation failures. This also makes it possible to detect when no setup was performed, by returning 0 in such a case. Now returns 1 when setup occurs and res pointers populated.
Diffstat (limited to 'src/til_settings.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved