projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
config/ * picflag.m4 (m68k-*-*): Use default PIC flag.
[external/binutils.git]
/
libiberty
/
sigsetmask.c
diff --git
a/libiberty/sigsetmask.c
b/libiberty/sigsetmask.c
index
4de3e4b
..
3b708b1
100644
(file)
--- a/
libiberty/sigsetmask.c
+++ b/
libiberty/sigsetmask.c
@@
-21,21
+21,20
@@
be the value @code{1}).
#include <sys/types.h>
#include <signal.h>
#include <sys/types.h>
#include <signal.h>
-extern void abort
PARAMS ((void)
) ATTRIBUTE_NORETURN;
+extern void abort
(void
) ATTRIBUTE_NORETURN;
#ifdef SIG_SETMASK
int
#ifdef SIG_SETMASK
int
-sigsetmask (set)
- int set;
+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 */
}
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
return 1; /* FIXME, we always return 1 as old value. */
}
#endif