From 4bdddc9cbfda2acc3da87f7565baca9307ab92f7 Mon Sep 17 00:00:00 2001 From: "\"Steven J. Hill\"" Date: Mon, 21 Aug 2006 04:26:01 +0000 Subject: Finally check in all the changes I made for NPTL library proper. --- libpthread/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c') 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 #include +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 -- cgit v1.2.3