another cast to void to silence gcc1 on BSD/OS

XXX rlim_t = quad_t there is not detected
This commit is contained in:
tg 2009-03-26 11:22:53 +00:00
parent db6ed8be7c
commit 40debc6f55
1 changed files with 2 additions and 2 deletions

4
jobs.c
View File

@ -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);