mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
LibC: Fix misplaced brace
It doesn't really make a difference since waitpid() is declared to have extern "C" linkage in the header anyway, but still.
This commit is contained in:
parent
1e0d57a13f
commit
aafa5a9d09
1 changed files with 1 additions and 1 deletions
|
@ -35,10 +35,10 @@ pid_t wait(int* wstatus)
|
|||
{
|
||||
return waitpid(-1, wstatus, 0);
|
||||
}
|
||||
}
|
||||
|
||||
pid_t waitpid(pid_t waitee, int* wstatus, int options)
|
||||
{
|
||||
int rc = syscall(SC_waitpid, waitee, wstatus, options);
|
||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue