about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog5
-rw-r--r--linuxthreads/attr.c5
2 files changed, 7 insertions, 3 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 9129604ccf..70558eb72e 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,8 @@
+2004-01-16  Richard Henderson  <rth@redhat.com>
+
+        * attr.c: Include ldsodefs.h.
+        (pthread_getattr_np): Don't declare __libc_stack_end.
+
 2004-01-09  Steven Munroe  <sjmunroe@us.ibm.com>
 
 	* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h
diff --git a/linuxthreads/attr.c b/linuxthreads/attr.c
index a88fdb96c5..2adc7ccd7a 100644
--- a/linuxthreads/attr.c
+++ b/linuxthreads/attr.c
@@ -26,6 +26,8 @@
 #include "pthread.h"
 #include "internals.h"
 #include <shlib-compat.h>
+#include <ldsodefs.h>
+
 
 int __pthread_attr_init_2_1(pthread_attr_t *attr)
 {
@@ -415,9 +417,6 @@ int pthread_getattr_np (pthread_t thread, pthread_attr_t *attr)
   if (descr == &__pthread_initial_thread)
 #endif
     {
-      /* Defined in ld.so.  */
-      extern void *__libc_stack_end;
-
       /* Stack size limit.  */
       struct rlimit rl;