summaryrefslogtreecommitdiff
path: root/src/libFLAC/cpu.c
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2016-03-14 18:14:31 +1100
committerErik de Castro Lopo <erikd@mega-nerd.com>2016-03-14 11:27:34 +1100
commita9f84425cfd5d1dbfb564730ca80d0b588cb4f24 (patch)
tree9c079c0546e51dd61acd1f34e08aac627d6d4d6a /src/libFLAC/cpu.c
parentc4141f6132a87b7bc39a71f6f6173b876809f53e (diff)
downloadflac-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.c2
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))
{