summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/hcreate.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2014-07-15 02:21:35 +0000
committerpfg <pfg@FreeBSD.org>2014-07-15 02:21:35 +0000
commit93698c5f59d520aa4adb2b2450850a886dc96512 (patch)
tree20111ac9092512daa3e606f4155ed0b5599fd12e /lib/libc/stdlib/hcreate.c
parentbf1e81a37ae077af93aeb50195390345a991263a (diff)
downloadFreeBSD-src-93698c5f59d520aa4adb2b2450850a886dc96512.zip
FreeBSD-src-93698c5f59d520aa4adb2b2450850a886dc96512.tar.gz
libc/gen: small updates to code originating at OpenBSD
arc4random.c - CVS rev. 1.22 Change arc4random_uniform() to calculate ``2**32 % upper_bound'' as ``-upper_bound % upper_bound''. Simplifies the code and makes it the same on both ILP32 and LP64 architectures, and also slightly faster on LP64 architectures by using a 32-bit remainder instead of a 64-bit remainder. - CVS rev. 1.23 Spacing readpassphrase.c -CVS rev. v 1.24 most obvious unsigned char casts for ctype Obtained from: OpenBSD MFC after: 5 days
Diffstat (limited to 'lib/libc/stdlib/hcreate.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud