summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/random_r.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-06 03:33:06 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-06 03:33:06 +0000
commitbd7bace793536f027790396d6358c14299e8595b (patch)
treedcc993baefecea2b27019336c4502e61d49b98c5 /libc/stdlib/random_r.c
parent7608c85140162446c3830421eb94ae42a1bbb893 (diff)
downloaduClibc-alpine-bd7bace793536f027790396d6358c14299e8595b.tar.bz2
uClibc-alpine-bd7bace793536f027790396d6358c14299e8595b.tar.xz
Big merge from trunk. Stop the madness!
Diffstat (limited to 'libc/stdlib/random_r.c')
-rw-r--r--libc/stdlib/random_r.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/stdlib/random_r.c b/libc/stdlib/random_r.c
index 9e203f0d5..0733bf900 100644
--- a/libc/stdlib/random_r.c
+++ b/libc/stdlib/random_r.c
@@ -319,7 +319,7 @@ fail:
to the order in which things are done, it is OK to call setstate with the
same state as the current state
Returns a pointer to the old state information. */
-int setstate_r (char *arg_state, struct random_data *buf)
+int attribute_hidden __setstate_r (char *arg_state, struct random_data *buf)
{
int32_t *new_state = 1 + (int32_t *) arg_state;
int type;
@@ -362,3 +362,4 @@ fail:
__set_errno (EINVAL);
return -1;
}
+strong_alias(__setstate_r,setstate_r)