diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2016-03-14 18:14:31 +1100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2016-03-14 11:27:34 +1100 |
commit | a9f84425cfd5d1dbfb564730ca80d0b588cb4f24 (patch) | |
tree | 9c079c0546e51dd61acd1f34e08aac627d6d4d6a /src/libFLAC/cpu.c | |
parent | c4141f6132a87b7bc39a71f6f6173b876809f53e (diff) | |
download | flac-a9f84425cfd5d1dbfb564730ca80d0b588cb4f24.tar.gz |
libFLAC/cpu.c: Use `sigemptyset` instead of `__sigemptyset`
The former is POSIX while the later is a GNU glibc-ism that does not
exist in (for example) the Musl C library that is used in OpenWrt.
Reported-by: <neheb@hushmail.com>
Diffstat (limited to 'src/libFLAC/cpu.c')
-rw-r--r-- | src/libFLAC/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libFLAC/cpu.c b/src/libFLAC/cpu.c index 35399fbe..a12d6977 100644 --- a/src/libFLAC/cpu.c +++ b/src/libFLAC/cpu.c @@ -243,7 +243,7 @@ void FLAC__cpu_info(FLAC__CPUInfo *info) struct sigaction sigill_save; struct sigaction sigill_sse; sigill_sse.sa_sigaction = sigill_handler_sse_os; - __sigemptyset(&sigill_sse.sa_mask); + sigemptyset(&sigill_sse.sa_mask); sigill_sse.sa_flags = SA_SIGINFO | SA_RESETHAND; /* SA_RESETHAND just in case our SIGILL return jump breaks, so we don't get stuck in a loop */ if(0 == sigaction(SIGILL, &sigill_sse, &sigill_save)) { |