diff options
author | tb <> | 2015-12-18 08:52:34 +0000 |
---|---|---|
committer | tb <> | 2015-12-18 08:52:34 +0000 |
commit | c7a8e75acdb875a1202fe9fcd79e35d82382797c (patch) | |
tree | 5f0658b997ec76e0c949f0a7fc7df4486ae7df6c /src/lib/libc/stdlib/atexit.c | |
parent | 81a8c3193dfbd2174f269231d18c8c051ab1b340 (diff) | |
download | openbsd-c7a8e75acdb875a1202fe9fcd79e35d82382797c.tar.gz openbsd-c7a8e75acdb875a1202fe9fcd79e35d82382797c.tar.bz2 openbsd-c7a8e75acdb875a1202fe9fcd79e35d82382797c.zip |
Simplify return call of rand() and rand_r() to make it easier to read.
This is slightly less robust, but RAND_MAX must be one below a power
of two in both variants anyway.
Based on a suggestion by Matthew Martin.
ok tedu@
Diffstat (limited to 'src/lib/libc/stdlib/atexit.c')
0 files changed, 0 insertions, 0 deletions