summary refs log tree commit diff
path: root/src/main.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2018-11-21 11:45:04 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-12-14 13:48:03 +0800
commit284b9192ed12a80b35fa7b9b85d75055887b64e9 (patch)
treee1dc990ea0f2af07a764bcba4d9e9d332c5dc224 /src/main.c
parenteval: Use sh_warnx instead of warnx (diff)
downloaddash-284b9192ed12a80b35fa7b9b85d75055887b64e9.tar.gz
dash-284b9192ed12a80b35fa7b9b85d75055887b64e9.zip
system: Disable glibc warning on sigsetmask
As sigsetmask is set as deprecated in glibc this patch adds the
pragmas to disable the warning in gcc around our one and only use
of sigsetmask.

It also disables it completely for non-gcc compilers and older
gcc compilers as they may generate a warning too.

Reported-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions