diff options
author | Richard Henderson <rth@redhat.com> | 2004-01-16 08:07:01 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2004-01-16 08:07:01 +0000 |
commit | ff151400d89760e9f4b761c14b311e42bc9058bf (patch) | |
tree | 925b26776870e4ea90f4e947680eb6d0c7d175a5 /linuxthreads/attr.c | |
parent | d803c85384d0085aa15666ce551badcbda12d80f (diff) | |
download | glibc-ff151400d89760e9f4b761c14b311e42bc9058bf.tar.gz glibc-ff151400d89760e9f4b761c14b311e42bc9058bf.tar.xz 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.c | 5 |
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; |