about summary refs log tree commit diff
path: root/nptl/sysdeps
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 /nptl/sysdeps
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.
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c3
1 files changed, 2 insertions, 1 deletions
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