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 2013-06-30 20:51:15 +00:00
parent fdd0a4cf93
commit cf3175531d
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)