summaryrefslogtreecommitdiffstats
path: root/lib/libm
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2015-12-18 08:52:34 +0000
committertb <tb@openbsd.org>2015-12-18 08:52:34 +0000
commit040a3c72b8233fad1be1b485ca15c6439e6f3312 (patch)
treea1e6168b915cbc2572dbf3ed00fcf2283b173a92 /lib/libm
parentDrop the now useless multicast setup comment. (diff)
downloadwireguard-openbsd-040a3c72b8233fad1be1b485ca15c6439e6f3312.tar.xz
wireguard-openbsd-040a3c72b8233fad1be1b485ca15c6439e6f3312.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 'lib/libm')
0 files changed, 0 insertions, 0 deletions