diff options
author | Yury Norov <ynorov@caviumnetworks.com> | 2017-10-31 15:31:40 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-10-31 17:49:18 -0200 |
commit | 87bbc4cf1e95400e17670a38684c041319c3187b (patch) | |
tree | 9b9d1456a6d5077fc46d1e879f435d231e7eb81d /grp/tst-putgrent.c | |
parent | e8681faa01e782800aa44acd0f13b191aca13c81 (diff) | |
download | glibc-87bbc4cf1e95400e17670a38684c041319c3187b.tar.gz glibc-87bbc4cf1e95400e17670a38684c041319c3187b.tar.xz glibc-87bbc4cf1e95400e17670a38684c041319c3187b.zip |
Remove useless #ifdefs from Linux sig*.c syscalls
sigprocmask.c, sigtimedwait.c, sigwait.c and sigwaitinfo.c files from sysdeps/unix/sysv/linux include nptl-signals.h via nptl/pthreadP.h, and so SIGCANCEL and SIGSETXID become defined unconditionally. But later in the code, there are some checks weither symbols defined, which is useless. This patch removes useless checks. Checked on x86_64-linux-gnu. * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs. * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise. * sysdeps/unix/sysv/linux/sigwait.c: Likewise. * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise. Signed-off-by: Yury Norov <ynorov@caviumnetworks.com> Reviewed-by: Andreas Schwab <schwab@suse.de> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'grp/tst-putgrent.c')
0 files changed, 0 insertions, 0 deletions