OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3893e7e
)
correct prototypes and 1 reloc less
author
Peter S. Mazinger
<ps.m@gmx.net>
Tue, 17 Jan 2006 17:57:34 +0000
(17:57 -0000)
committer
Peter S. Mazinger
<ps.m@gmx.net>
Tue, 17 Jan 2006 17:57:34 +0000
(17:57 -0000)
libc/stdlib/arc4random.c
patch
|
blob
|
history
diff --git
a/libc/stdlib/arc4random.c
b/libc/stdlib/arc4random.c
index
789bb17
..
b0b3b39
100644
(file)
--- a/
libc/stdlib/arc4random.c
+++ b/
libc/stdlib/arc4random.c
@@
-170,8
+170,9
@@
arc4_getword(as)
return val;
}
+libc_hidden_proto(arc4random_stir)
void
-arc4random_stir()
+arc4random_stir(
void
)
{
if (!rs_initialized) {
arc4_init(&rs);
@@
-179,11
+180,10
@@
arc4random_stir()
}
arc4_stir(&rs);
}
+libc_hidden_def(arc4random_stir)
void
-arc4random_addrandom(dat, datlen)
- u_char *dat;
- int datlen;
+arc4random_addrandom(u_char *dat, int datlen)
{
if (!rs_initialized)
arc4random_stir();
@@
-191,7
+191,7
@@
arc4random_addrandom(dat, datlen)
}
u_int32_t
-arc4random()
+arc4random(
void
)
{
if (!rs_initialized)
arc4random_stir();