summaryrefslogtreecommitdiff
path: root/src/modules/roto/roto.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-04-14 16:51:54 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-04-14 16:51:54 -0700
commit95ef32f1a667af567b9d3173fe456154e522dfde (patch)
tree37d01094bb7567d35e8589bbae1fb46f5e32f2b4 /src/modules/roto/roto.c
parent2c01f07385db88fa92f3a3789457c68db0d7d49e (diff)
til: seed srand in til_init()
A future commit will remove srand() calls from modules, relying instead on this srand() in til_init(). As mentioned in the comment, if modules actually want reproducible deterministic pseudo-random values they should use rand_r() (or their own PRNG) where they can control the seed.
Diffstat (limited to 'src/modules/roto/roto.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved