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
214e08782b
commit
61c2a6184e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=252429
@ -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