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.
This commit is contained in:
Jilles Tjoelker 2013-06-30 20:51:15 +00:00
parent 214e08782b
commit 61c2a6184e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252429
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -41,7 +41,7 @@ __FBSDID("$FreeBSD$");
#include "un-namespace.h"
#include "libc_private.h"
sigset_t _sigintr; /* shared with siginterrupt */
sigset_t _sigintr __hidden; /* shared with siginterrupt */
sig_t
signal(s, a)