mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 10:09:14 +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
Notes:
sideshowbarker
2024-07-19 09:39:23 +09:00
Author: https://github.com/bugaevc
Commit: aafa5a9d09
Pull-request: https://github.com/SerenityOS/serenity/pull/1183
Reviewed-by: https://github.com/awesomekling ✅
1 changed files with 1 additions and 1 deletions
|
@ -35,10 +35,10 @@ pid_t wait(int* wstatus)
|
||||||
{
|
{
|
||||||
return waitpid(-1, wstatus, 0);
|
return waitpid(-1, wstatus, 0);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
pid_t waitpid(pid_t waitee, int* wstatus, int options)
|
pid_t waitpid(pid_t waitee, int* wstatus, int options)
|
||||||
{
|
{
|
||||||
int rc = syscall(SC_waitpid, waitee, wstatus, options);
|
int rc = syscall(SC_waitpid, waitee, wstatus, options);
|
||||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue