Skip to content

Commit 34f4b8b

Browse files
committed
[libc] fix formatting
1 parent 9a5455d commit 34f4b8b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

libc/test/UnitTest/ExecuteFunctionUnix.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include <poll.h>
1414
#include <signal.h>
1515
#include <stdio.h>
16-
#include <errno.h>
1716
#include <stdlib.h>
1817
#include <string.h>
1918
#include <sys/wait.h>
@@ -58,9 +57,7 @@ ProcessStatus invoke_in_subprocess(FunctionCaller *func, int timeout_ms) {
5857
}
5958
::close(pipe_fds[1]);
6059

61-
struct pollfd poll_fd {
62-
pipe_fds[0], POLLIN, 0
63-
};
60+
struct pollfd poll_fd{pipe_fds[0], POLLIN, 0};
6461
// No events requested so this call will only return after the timeout or if
6562
// the pipes peer was closed, signaling the process exited.
6663
if (::poll(&poll_fd, 1, timeout_ms) == -1) {

0 commit comments

Comments
 (0)