aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/poll.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2017-08-16 16:30:54 -0700
committerElliott Hughes <enh@google.com>2017-08-16 16:30:54 -0700
commit079bff4fa52b0c3c76057451cc9cdecf1827fce0 (patch)
tree1f2667df4a1ed2dd79cb53a6231cb88d3d9ade13 /libc/include/poll.h
parent67e7bf137e00a6c9ef79396e40be6b1705a2758c (diff)
downloadandroid_bionic-079bff4fa52b0c3c76057451cc9cdecf1827fce0.tar.gz
android_bionic-079bff4fa52b0c3c76057451cc9cdecf1827fce0.tar.bz2
android_bionic-079bff4fa52b0c3c76057451cc9cdecf1827fce0.zip
Name function arguments in libc headers for Studio.
Second batch of headers... Bug: http://b/64613623 Test: builds Change-Id: I8eef043dbf32afee8ff814e9d005f46aee8fa21f
Diffstat (limited to 'libc/include/poll.h')
-rw-r--r--libc/include/poll.h7
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