aboutsummaryrefslogtreecommitdiff
path: root/include/errno.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-10-04 20:59:38 +0000
committerRoland McGrath <roland@gnu.org>2004-10-04 20:59:38 +0000
commit96c82b3feea4335a2e47d789deb96231b0aef7a0 (patch)
tree515662d18a6b43b68b651f4f15ad9af07cc2547b /include/errno.h
parente4bb48539fa1012f4ec102d8a3b12e846a832ff5 (diff)
downloadglibc-96c82b3feea4335a2e47d789deb96231b0aef7a0.zip
glibc-96c82b3feea4335a2e47d789deb96231b0aef7a0.tar.gz
glibc-96c82b3feea4335a2e47d789deb96231b0aef7a0.tar.bz2
2004-10-04 Roland McGrath <roland@redhat.com>
* include/errno.h [RTLD_PRIVATE_ERRNO] (errno): Rename the real symbol to rtld_errno. * sysdeps/generic/errno.c [RTLD_PRIVATE_ERRNO] (rtld_errno): Define it, and don't define any other errno names. * sysdeps/unix/alpha/sysdep.h [RTLD_PRIVATE_ERRNO]: Use rtld_errno in place of errno. * sysdeps/unix/i386/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise. * sysdeps/unix/x86_64/sysdep.S: Likewise.
Diffstat (limited to 'include/errno.h')
-rw-r--r--include/errno.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/errno.h b/include/errno.h
index 1b0aabc..13d17f9 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -14,8 +14,8 @@
so a single (hidden) global variable is all it needs. */
# undef errno
-# define errno errno /* For #ifndef errno tests. */
-extern int errno attribute_hidden;
+# define errno rtld_errno
+extern int rtld_errno attribute_hidden;
# else