summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2016-03-20 17:56:47 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2016-10-09 23:40:51 +0200
commit8c4c95b965fee5acf974ecb0a37f508efa17f380 (patch)
tree5942f552b9e4e4a9567ae72cc7e2169c605b1a64 /include
parent5c9757cd4bb65caca1a3d1a6b6a81203666d0749 (diff)
hurd: Do not hide rtld symbols which need to be preempted
* sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open and __fcntl. * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to __fcntl only. * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of adding attribute_hidden to __open and __fcntl.
Diffstat (limited to 'include')
-rw-r--r--include/fcntl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/fcntl.h b/include/fcntl.h
index 4168ee429f..3b2c887146 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -31,8 +31,7 @@ extern int __openat64_2 (int __fd, const char *__path, int __oflag);
#if IS_IN (rtld)
-extern __typeof (__open) __open attribute_hidden;
-extern __typeof (__fcntl) __fcntl attribute_hidden;
+# include <dl-fcntl.h>
#endif
/* Flag determining whether the *at system calls are available. */