aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/gen/siginterrupt.c
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2013-06-30 20:51:15 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2013-06-30 20:51:15 +0000
commit61c2a6184ebe42ae7fb26591d71603babe46edd1 (patch)
tree6aa9dabf56cbd0d7c910e9ef0b1a51603fb52b6e /lib/libc/gen/siginterrupt.c
parent214e08782bc71b5a9a5e997274e25acbb60764fc (diff)
libc: Access _sigintr more efficiently.
The variable _sigintr is not exported via the version script; therefore, tell the compiler that no indirection (to allow interposition) is needed.
Notes
Notes: svn path=/head/; revision=252429
Diffstat (limited to 'lib/libc/gen/siginterrupt.c')
-rw-r--r--lib/libc/gen/siginterrupt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/siginterrupt.c b/lib/libc/gen/siginterrupt.c
index dde474c43e0c..fde33ca567ce 100644
--- a/lib/libc/gen/siginterrupt.c
+++ b/lib/libc/gen/siginterrupt.c
@@ -46,7 +46,7 @@ int
siginterrupt(sig, flag)
int sig, flag;
{
- extern sigset_t _sigintr;
+ extern sigset_t _sigintr __hidden;
struct sigaction sa;
int ret;