diff options
author | Elliott Hughes <enh@google.com> | 2014-05-16 22:52:41 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-05-16 22:52:41 +0000 |
commit | 58b52fb133ee4f8a82d3da5c439ca7b9d2caa2bf (patch) | |
tree | d17ca0031cd8c083d5fee07f9ca719e94b02e596 | |
parent | e2d5746a8ae9c7dd957b46286af42e7ff412a68b (diff) | |
parent | bd27a8b4af59e4078144f25953828061b6fead8b (diff) | |
download | bionic-58b52fb133ee4f8a82d3da5c439ca7b9d2caa2bf.zip bionic-58b52fb133ee4f8a82d3da5c439ca7b9d2caa2bf.tar.gz bionic-58b52fb133ee4f8a82d3da5c439ca7b9d2caa2bf.tar.bz2 |
Merge "Remove dead code."
-rw-r--r-- | libc/bionic/arc4random.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/libc/bionic/arc4random.c b/libc/bionic/arc4random.c index eac4b0c..687030b 100644 --- a/libc/bionic/arc4random.c +++ b/libc/bionic/arc4random.c @@ -171,19 +171,6 @@ arc4_getbyte(void) return (rs.s[(si + sj) & 0xff]); } -u_int8_t -__arc4_getbyte(void) -{ - u_int8_t val; - - _ARC4_LOCK(); - if (--arc4_count == 0 || !rs_initialized) - arc4_stir(); - val = arc4_getbyte(); - _ARC4_UNLOCK(); - return val; -} - static inline u_int32_t arc4_getword(void) { |