diff options
author | Elliott Hughes <enh@google.com> | 2014-06-24 21:24:55 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-06-24 18:00:13 +0000 |
commit | 52f9b051c8bcb3d723b023a74d7d89ee45cf754c (patch) | |
tree | 3de5db05a09e89a45e1802ed4bc9ca531a7ee9cd /libc/include | |
parent | 598f4b3ac1be3c6ef3af613ac4b0694841e165fe (diff) | |
parent | 0468feb28696751efcddada8de69a622afffdba8 (diff) | |
download | android_bionic-52f9b051c8bcb3d723b023a74d7d89ee45cf754c.tar.gz android_bionic-52f9b051c8bcb3d723b023a74d7d89ee45cf754c.tar.bz2 android_bionic-52f9b051c8bcb3d723b023a74d7d89ee45cf754c.zip |
Merge "Sync to current upstream arc4random."
Diffstat (limited to 'libc/include')
-rw-r--r-- | libc/include/stdlib.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h index 266aa5e78..62b7a67b8 100644 --- a/libc/include/stdlib.h +++ b/libc/include/stdlib.h @@ -100,9 +100,10 @@ extern unsigned short *seed48(unsigned short*); extern double erand48(unsigned short xsubi[3]); extern double drand48(void); extern void srand48(long); -extern unsigned int arc4random(void); -extern void arc4random_stir(void); -extern void arc4random_addrandom(unsigned char *, int); + +unsigned int arc4random(void); +unsigned int arc4random_uniform(unsigned int); +void arc4random_buf(void*, size_t); #define RAND_MAX 0x7fffffff |