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:
parent
fdd0a4cf93
commit
cf3175531d
@ -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;
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user