summaryrefslogtreecommitdiff
path: root/libc/stdlib/seed48_r.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-29 00:50:10 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-29 00:50:10 +0000
commitd24608f995e83aa4ac5557cd1a084cac55a71a3c (patch)
treebd85ca3d38df362786a2ff156f8efd0c8d628f74 /libc/stdlib/seed48_r.c
parent57eac0f84b7fe02eee8607eff91051eeef6e74ba (diff)
Hiding again
Diffstat (limited to 'libc/stdlib/seed48_r.c')
-rw-r--r--libc/stdlib/seed48_r.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/stdlib/seed48_r.c b/libc/stdlib/seed48_r.c
index 734b5e39d..0bfe11f43 100644
--- a/libc/stdlib/seed48_r.c
+++ b/libc/stdlib/seed48_r.c
@@ -17,11 +17,13 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#define memcpy __memcpy
+
#include <stdlib.h>
#include <string.h>
#include <limits.h>
-int seed48_r (unsigned short int seed16v[3], struct drand48_data *buffer)
+int attribute_hidden __seed48_r (unsigned short int seed16v[3], struct drand48_data *buffer)
{
/* Save old value at a private place to be used as return value. */
memcpy (buffer->__old_x, buffer->__x, sizeof (buffer->__x));
@@ -36,3 +38,4 @@ int seed48_r (unsigned short int seed16v[3], struct drand48_data *buffer)
return 0;
}
+strong_alias(__seed48_r,seed48_r)