another cast to void to silence gcc1 on BSD/OS
XXX rlim_t = quad_t there is not detected
This commit is contained in:
parent
db6ed8be7c
commit
40debc6f55
4
jobs.c
4
jobs.c
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#include "sh.h"
|
#include "sh.h"
|
||||||
|
|
||||||
__RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.45 2009/03/22 17:47:37 tg Exp $");
|
__RCSID("$MirOS: src/bin/mksh/jobs.c,v 1.46 2009/03/26 11:22:53 tg Exp $");
|
||||||
|
|
||||||
/* Order important! */
|
/* Order important! */
|
||||||
#define PRUNNING 0
|
#define PRUNNING 0
|
||||||
|
@ -128,7 +128,7 @@ j_init(int mflagset)
|
||||||
sigprocmask(SIG_SETMASK, &sm_default, NULL);
|
sigprocmask(SIG_SETMASK, &sm_default, NULL);
|
||||||
|
|
||||||
(void)sigemptyset(&sm_sigchld);
|
(void)sigemptyset(&sm_sigchld);
|
||||||
sigaddset(&sm_sigchld, SIGCHLD);
|
(void)sigaddset(&sm_sigchld, SIGCHLD);
|
||||||
|
|
||||||
setsig(&sigtraps[SIGCHLD], j_sigchld,
|
setsig(&sigtraps[SIGCHLD], j_sigchld,
|
||||||
SS_RESTORE_ORIG|SS_FORCE|SS_SHTRAP);
|
SS_RESTORE_ORIG|SS_FORCE|SS_SHTRAP);
|
||||||
|
|
Loading…
Reference in New Issue