about summary refs log tree commit diff
path: root/nptl/pthread_getattr_np.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 /nptl/pthread_getattr_np.c
parentd803c85384d0085aa15666ce551badcbda12d80f (diff)
downloadglibc-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 'nptl/pthread_getattr_np.c')
-rw-r--r--nptl/pthread_getattr_np.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/nptl/pthread_getattr_np.c b/nptl/pthread_getattr_np.c
index 0e1082079a..769f4f5e31 100644
--- a/nptl/pthread_getattr_np.c
+++ b/nptl/pthread_getattr_np.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -72,9 +72,6 @@ pthread_getattr_np (thread_id, attr)
 	 thread.  Get the info in some magical way.  */
       assert (abs (thread->pid) == thread->tid);
 
-      /* Defined in ld.so.  */
-      extern void *__libc_stack_end;
-
       /* Stack size limit.  */
       struct rlimit rl;