aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/attr.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-01-16 08:07:01 +0000
committerRichard Henderson <rth@redhat.com>2004-01-16 08:07:01 +0000
commitff151400d89760e9f4b761c14b311e42bc9058bf (patch)
tree925b26776870e4ea90f4e947680eb6d0c7d175a5 /linuxthreads/attr.c
parentd803c85384d0085aa15666ce551badcbda12d80f (diff)
downloadglibc-ff151400d89760e9f4b761c14b311e42bc9058bf.tar
glibc-ff151400d89760e9f4b761c14b311e42bc9058bf.tar.gz
glibc-ff151400d89760e9f4b761c14b311e42bc9058bf.tar.bz2
glibc-ff151400d89760e9f4b761c14b311e42bc9058bf.zip
* elf/dl-load.c: Don't declare __libc_stack_end. * sysdeps/generic/libc-start.c: Likewise. * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise. * sysdeps/generic/segfault.c: Likewise. Include ldsodefs.h. * sysdeps/generic/backtrace.c: Likewise. linuxthreads/ * attr.c: Include ldsodefs.h. (pthread_getattr_np): Don't declare __libc_stack_end. nptl/ * allocatestack.c: Don't declare __libc_stack_end. * init.c (__pthread_initialize_minimal_internal): Likewise. * pthread_getattr_np.c (pthread_getattr_np): Likewise.
2004-01-16 Richard Henderson <rth@redhat.com> * elf/dl-load.c: Don't declare __libc_stack_end. * sysdeps/generic/libc-start.c: Likewise. * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise. * sysdeps/generic/segfault.c: Likewise. Include ldsodefs.h. * sysdeps/generic/backtrace.c: Likewise.
Diffstat (limited to 'linuxthreads/attr.c')
-rw-r--r--linuxthreads/attr.c5
1 files changed, 2 insertions, 3 deletions
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;