summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-10-14 09:57:42 +0000
committerJakub Jelinek <jakub@redhat.com>2004-10-14 09:57:42 +0000
commit82496aab644f7acdce3f3a693f3c78723b175124 (patch)
tree8af7cfab391cc287beb7bab09f472bfd14fd7f07 /include
parent9869e6ec913e268748f510ab6ec64b8fd62531bc (diff)
2.3.3-68
Diffstat (limited to 'include')
-rw-r--r--include/errno.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/errno.h b/include/errno.h
index 13d17f9c0e..d9f95aa982 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -36,7 +36,11 @@ extern __thread int errno attribute_tls_model_ie;
# define __set_errno(val) (errno = (val))
# ifndef __ASSEMBLER__
-extern int *__errno_location (void) __THROW __attribute__ ((__const__));
+extern int *__errno_location (void) __THROW __attribute__ ((__const__))
+# ifdef RTLD_PRIVATE_ERRNO
+ attribute_hidden
+# endif
+;
libc_hidden_proto (__errno_location)
# endif