diff options
Diffstat (limited to 'sysdeps/posix')
-rw-r--r-- | sysdeps/posix/sigset.c | 2 | ||||
-rw-r--r-- | sysdeps/posix/wait3.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/sysdeps/posix/sigset.c b/sysdeps/posix/sigset.c index 1a6b1a4fd3..52da0f3060 100644 --- a/sysdeps/posix/sigset.c +++ b/sysdeps/posix/sigset.c @@ -30,6 +30,7 @@ sigset (sig, disp) { struct sigaction act, oact; +#ifdef SIG_HOLD /* Handle SIG_HOLD first. */ if (disp == SIG_HOLD) { @@ -49,6 +50,7 @@ sigset (sig, disp) return SIG_HOLD; } +#endif /* SIG_HOLD */ /* Check signal extents to protect __sigismember. */ if (disp == SIG_ERR || sig < 1 || sig >= NSIG) diff --git a/sysdeps/posix/wait3.c b/sysdeps/posix/wait3.c index 61d1237cd1..261754251f 100644 --- a/sysdeps/posix/wait3.c +++ b/sysdeps/posix/wait3.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1993, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1992, 93, 95, 96, 97, 98 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -28,7 +28,7 @@ children; otherwise don't. */ pid_t __wait3 (stat_loc, options, usage) - __WAIT_STATUS_DEFN stat_loc; + __WAIT_STATUS stat_loc; int options; struct rusage *usage; { @@ -37,7 +37,7 @@ __wait3 (stat_loc, options, usage) __set_errno (ENOSYS); return (pid_t) -1; } - return __waitpid (WAIT_ANY, stat_loc, options); + return __waitpid (WAIT_ANY, stat_loc.__iptr, options); } weak_alias (__wait3, wait3) |