summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/poll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibC/poll.cpp')
-rw-r--r--Userland/Libraries/LibC/poll.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibC/poll.cpp b/Userland/Libraries/LibC/poll.cpp
index 8b5f5605f1..7491346d5b 100644
--- a/Userland/Libraries/LibC/poll.cpp
+++ b/Userland/Libraries/LibC/poll.cpp
@@ -23,7 +23,7 @@ int poll(pollfd* fds, nfds_t nfds, int timeout_ms)
return ppoll(fds, nfds, timeout_ts, nullptr);
}
-int ppoll(pollfd* fds, nfds_t nfds, const timespec* timeout, const sigset_t* sigmask)
+int ppoll(pollfd* fds, nfds_t nfds, timespec const* timeout, sigset_t const* sigmask)
{
Syscall::SC_poll_params params { fds, nfds, timeout, sigmask };
int rc = syscall(SC_poll, &params);