diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2008-10-03 18:46:05 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2008-10-03 18:46:05 +0000 |
commit | 155b49833acddaa21d3a06005df389d4083db780 (patch) | |
tree | c63554692b334381683c83aaab2a1bcc59a21ff1 /lib/libc | |
parent | 3ed768f4dc2ac321ae74f18f47c627194c9cd78d (diff) |
zap __arc4_getbyte(), it was only used by the old malloc; ok millert@
kurt@
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/crypt/arc4random.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/lib/libc/crypt/arc4random.c b/lib/libc/crypt/arc4random.c index 22b8d1f3c1b..e921e4b7c70 100644 --- a/lib/libc/crypt/arc4random.c +++ b/lib/libc/crypt/arc4random.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arc4random.c,v 1.19 2008/06/04 00:50:23 djm Exp $ */ +/* $OpenBSD: arc4random.c,v 1.20 2008/10/03 18:46:04 otto Exp $ */ /* * Copyright (c) 1996, David Mazieres <dm@uun.org> @@ -135,19 +135,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) { |