From d678ebc16b240a0052e7d76263fd4cf32ae6bb7c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 25 Aug 2006 13:29:19 +0000 Subject: * sysdeps/unix/sysv/linux/libc_pthread_init.c (freeres_libpthread): Only define ifdef SHARED. --- nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nptl/sysdeps') diff --git a/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c b/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c index 4e0001af91..714ad49428 100644 --- a/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c +++ b/nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c @@ -58,9 +58,10 @@ __libc_pthread_init (ptr, reclaim, functions) #endif } - +#ifdef SHARED libc_freeres_fn (freeres_libptread) { if (__libc_pthread_functions.ptr_freeres != NULL) __libc_pthread_functions.ptr_freeres (); } +#endif -- cgit v1.2.3