diff options
Diffstat (limited to 'libc/include/poll.h')
-rw-r--r-- | libc/include/poll.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libc/include/poll.h b/libc/include/poll.h index 0f5758d8e..8517dc623 100644 --- a/libc/include/poll.h +++ b/libc/include/poll.h @@ -38,9 +38,8 @@ __BEGIN_DECLS typedef unsigned int nfds_t; -int poll(struct pollfd*, nfds_t, int) __overloadable __RENAME_CLANG(poll); -int ppoll(struct pollfd*, nfds_t, const struct timespec*, const sigset_t*) - __overloadable __RENAME_CLANG(ppoll) __INTRODUCED_IN(21); +int poll(struct pollfd* __fds, nfds_t __count, int __timeout_ms) __overloadable __RENAME_CLANG(poll); +int ppoll(struct pollfd* __fds, nfds_t __count, const struct timespec* __timeout, const sigset_t* __mask) __overloadable __RENAME_CLANG(ppoll) __INTRODUCED_IN(21); #if defined(__BIONIC_INCLUDE_FORTIFY_HEADERS) #include <bits/fortify/poll.h> @@ -48,4 +47,4 @@ int ppoll(struct pollfd*, nfds_t, const struct timespec*, const sigset_t*) __END_DECLS -#endif /* _POLL_H_ */ +#endif |