diff options
Diffstat (limited to 'libiberty/sigsetmask.c')
-rw-r--r-- | libiberty/sigsetmask.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libiberty/sigsetmask.c b/libiberty/sigsetmask.c index 2df96fc..3b708b1 100644 --- a/libiberty/sigsetmask.c +++ b/libiberty/sigsetmask.c @@ -27,14 +27,14 @@ extern void abort (void) ATTRIBUTE_NORETURN; int sigsetmask (int set) { - sigset_t new; - sigset_t old; + sigset_t new_sig; + sigset_t old_sig; - sigemptyset (&new); + sigemptyset (&new_sig); if (set != 0) { abort(); /* FIXME, we don't know how to translate old mask to new */ } - sigprocmask(SIG_SETMASK, &new, &old); + sigprocmask(SIG_SETMASK, &new_sig, &old_sig); return 1; /* FIXME, we always return 1 as old value. */ } #endif |