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/ChangeLog | 5 +++++ nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 7ed7b38e11..e84d149d77 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,8 @@ +2006-08-25 Jakub Jelinek + + * sysdeps/unix/sysv/linux/libc_pthread_init.c (freeres_libpthread): + Only define ifdef SHARED. + 2006-08-23 Ulrich Drepper * allocatestack.c (queue_stack): Move freeing of surplus stacks to... 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 1.4.1