1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-20 11:21:29 +03:00

* 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> 2006-08-23 Ulrich Drepper <drepper@redhat.com>
* allocatestack.c (queue_stack): Move freeing of surplus stacks to... * allocatestack.c (queue_stack): Move freeing of surplus stacks to...

View File

@@ -58,9 +58,10 @@ __libc_pthread_init (ptr, reclaim, functions)
#endif #endif
} }
#ifdef SHARED
libc_freeres_fn (freeres_libptread) libc_freeres_fn (freeres_libptread)
{ {
if (__libc_pthread_functions.ptr_freeres != NULL) if (__libc_pthread_functions.ptr_freeres != NULL)
__libc_pthread_functions.ptr_freeres (); __libc_pthread_functions.ptr_freeres ();
} }
#endif