summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-02-01 21:02:40 +0000
committerRoland McGrath <roland@redhat.com>1993-02-01 21:02:40 +0000
commit8b738924b00b2b921554288a9cc5c6654bd3d050 (patch)
tree5275810af976940c0121b9c12e6d9e4f74ba4eee
parentafa97833ccb64541e3de526f46276a7ce5e6ab18 (diff)
downloadgunmake-8b738924b00b2b921554288a9cc5c6654bd3d050.tar.gz
Formerly job.c.~94~
-rw-r--r--job.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/job.c b/job.c
index 181be5b..01044c0 100644
--- a/job.c
+++ b/job.c
@@ -412,20 +412,13 @@ free_child (child)
#ifdef POSIX
extern sigset_t fatal_signal_set;
-static void
+void
unblock_sigs ()
{
sigset_t empty;
sigemptyset (&empty);
sigprocmask (SIG_SETMASK, &empty, (sigset_t *) 0);
}
-#else
-#ifdef HAVE_SIGSETMASK
-extern int fatal_signal_mask;
-#define unblock_sigs() sigsetmask (0)
-#else
-#define unblock_sigs()
-#endif
#endif
/* Start a job to run the commands specified in CHILD.