diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/signal/sigsetops.c | 6 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/bits/sigset.h | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libc/signal/sigsetops.c b/libc/signal/sigsetops.c index 6f1ae5c83..c47a87b0e 100644 --- a/libc/signal/sigsetops.c +++ b/libc/signal/sigsetops.c @@ -9,3 +9,9 @@ #endif #include <signal.h> + +/* Since we massaged signal.h into emitting non-inline function + * definitions, we need to finish PLT avoidance trick: */ +libc_hidden_def(__sigismember) +libc_hidden_def(__sigaddset) +libc_hidden_def(__sigdelset) diff --git a/libc/sysdeps/linux/common/bits/sigset.h b/libc/sysdeps/linux/common/bits/sigset.h index 7ccadda45..9a16e5cb9 100644 --- a/libc/sysdeps/linux/common/bits/sigset.h +++ b/libc/sysdeps/linux/common/bits/sigset.h @@ -101,8 +101,11 @@ typedef struct checking is done in the non __ versions. */ extern int __sigismember (__const __sigset_t *, int); +libc_hidden_proto(__sigismember) extern int __sigaddset (__sigset_t *, int); +libc_hidden_proto(__sigaddset) extern int __sigdelset (__sigset_t *, int); +libc_hidden_proto(__sigdelset) # ifdef __USE_EXTERN_INLINES # define __SIGSETFN(NAME, BODY, CONST) \ |