OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ca2d77
)
fix warning about __random() not being a prototype
author
Mike Frysinger
<vapier@gentoo.org>
Wed, 30 Nov 2005 03:14:39 +0000
(
03:14
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Wed, 30 Nov 2005 03:14:39 +0000
(
03:14
-0000)
libc/stdlib/random.c
patch
|
blob
|
history
diff --git
a/libc/stdlib/random.c
b/libc/stdlib/random.c
index
8338770
..
3ffa506
100644
(file)
--- a/
libc/stdlib/random.c
+++ b/
libc/stdlib/random.c
@@
-246,7
+246,7
@@
char * setstate (char *arg_state)
rear pointers can't wrap on the same call by not testing the rear
pointer if the front one has wrapped. Returns a 31-bit random number. */
-long int attribute_hidden __random ()
+long int attribute_hidden __random (
void
)
{
int32_t retval;