diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-08-21 04:26:01 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-08-21 04:26:01 +0000 |
commit | 4bdddc9cbfda2acc3da87f7565baca9307ab92f7 (patch) | |
tree | ddbbc7e72d72bf78d80f000163011d0c36a07aea /libpthread/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c | |
parent | c1a6053c890d37c25fce66ffc65a4ede77093ee0 (diff) | |
download | uClibc-alpine-4bdddc9cbfda2acc3da87f7565baca9307ab92f7.tar.bz2 uClibc-alpine-4bdddc9cbfda2acc3da87f7565baca9307ab92f7.tar.xz |
Finally check in all the changes I made for NPTL library proper.
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c b/libpthread/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c index f337816cf..5d3bcb0d6 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c @@ -25,6 +25,7 @@ #include <pthreadP.h> #include <bits/libc-lock.h> +libc_hidden_proto(memcpy) #ifdef TLS_MULTIPLE_THREADS_IN_TCB void @@ -48,7 +49,7 @@ __libc_pthread_init (ptr, reclaim, functions) /* We copy the content of the variable pointed to by the FUNCTIONS parameter to one in libc.so since this means access to the array can be done with one memory access instead of two. */ - __memcpy (&__libc_pthread_functions, functions, + memcpy (&__libc_pthread_functions, functions, sizeof (__libc_pthread_functions)); #endif |