* sysdeps/unix/sysv/linux/libc_pthread_init.c (freeres_libpthread):
authorUlrich Drepper <drepper@redhat.com>
Fri, 25 Aug 2006 13:29:19 +0000 (13:29 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 25 Aug 2006 13:29:19 +0000 (13:29 +0000)
Only define ifdef SHARED.

nptl/ChangeLog
nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c

index 7ed7b38..e84d149 100644 (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...
index 4e0001a..714ad49 100644 (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