summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@serenityos.org>2020-02-05 19:12:14 +0300
committerAndreas Kling <kling@serenityos.org>2020-02-05 18:14:37 +0100
commitaafa5a9d0962e9bd817b5b692c5180ecbb03f309 (patch)
treeac7b73180339e53fff5b0ecea590d1eaf51f36fc
parent1e0d57a13f343097cb7daecfa04786b857cb8539 (diff)
downloadserenity-aafa5a9d0962e9bd817b5b692c5180ecbb03f309.zip
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.
-rw-r--r--Libraries/LibC/sys/wait.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibC/sys/wait.cpp b/Libraries/LibC/sys/wait.cpp
index 3119a91427..140b5a3f74 100644
--- a/Libraries/LibC/sys/wait.cpp
+++ b/Libraries/LibC/sys/wait.cpp
@@ -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);
}
+}