* sysdeps/unix/sysv/linux/libc_pthread_init.c (freeres_libpthread):

Only define ifdef SHARED.
This commit is contained in:
Ulrich Drepper 2006-08-25 13:29:19 +00:00
parent f5a8277232
commit d678ebc16b
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-08-25 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/libc_pthread_init.c (freeres_libpthread):
Only define ifdef SHARED.
2006-08-23 Ulrich Drepper <drepper@redhat.com>
* allocatestack.c (queue_stack): Move freeing of surplus stacks to...

View File

@ -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