jehanne: purge syscall macros: s/rfork/sys_rfork/

This commit is contained in:
Giacomo Tesio 2019-11-28 00:28:17 +01:00
parent dddf3694e9
commit 4e2ce8120c
1 changed files with 2 additions and 2 deletions

View File

@ -25,12 +25,12 @@ static const char __rcsid[] __attribute__((__used__)) =
"$MirOS: src/bin/mksh/jehanne.c,v 1.1 2017/12/22 16:30:00 tg Exp $"; "$MirOS: src/bin/mksh/jehanne.c,v 1.1 2017/12/22 16:30:00 tg Exp $";
#include <u.h> #include <u.h>
#include <lib9.h> #include <libc.h>
#include <posix.h> #include <posix.h>
void void
__application_newlib_init(int argc, char *argv[]) __application_newlib_init(int argc, char *argv[])
{ {
rfork(RFFDG | RFREND | RFNOTEG); sys_rfork(RFFDG | RFREND | RFNOTEG);
libposix_emulate_SIGCHLD(); libposix_emulate_SIGCHLD();
} }