Skip to content

Commit 32c8258

Browse files
committed
[libc] remove struct
1 parent 7fe0c00 commit 32c8258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/test/UnitTest/ExecuteFunctionUnix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ ProcessStatus invoke_in_subprocess(FunctionCaller *func, int timeout_ms) {
5757
}
5858
::close(pipe_fds[1]);
5959

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

0 commit comments

Comments
 (0)