From aafa5a9d0962e9bd817b5b692c5180ecbb03f309 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Wed, 5 Feb 2020 19:12:14 +0300 Subject: [PATCH] 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. --- Libraries/LibC/sys/wait.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } +}