about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-08-25 13:29:19 +0000
committerUlrich Drepper <drepper@redhat.com>2006-08-25 13:29:19 +0000
commitd678ebc16b240a0052e7d76263fd4cf32ae6bb7c (patch)
treebfa88c71fee4cf927b858033220f5782f07cbcb0
parentf5a8277232519ae2ec0e0a212d2717a515c631ff (diff)
downloadglibc-d678ebc16b240a0052e7d76263fd4cf32ae6bb7c.tar.gz
glibc-d678ebc16b240a0052e7d76263fd4cf32ae6bb7c.tar.xz
glibc-d678ebc16b240a0052e7d76263fd4cf32ae6bb7c.zip
* sysdeps/unix/sysv/linux/libc_pthread_init.c (freeres_libpthread):
	Only define ifdef SHARED.
-rw-r--r--nptl/ChangeLog5
-rw-r--r--nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c3
2 files changed, 7 insertions, 1 deletions
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  <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...
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