We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 07bdc2b + 61097c7 commit 4abacacCopy full SHA for 4abacac
ndk/platforms/android-3/include/poll.h
@@ -35,8 +35,7 @@ __BEGIN_DECLS
35
36
typedef unsigned int nfds_t;
37
38
-/* POSIX specifies "int" for the timeout, Linux seems to use long... */
39
-extern int poll(struct pollfd *, nfds_t, long);
+extern int poll(struct pollfd *, nfds_t, int);
40
41
__END_DECLS
42
ndk/sources/android/libportable/arch-mips/poll.c
@@ -106,7 +106,7 @@ static inline short change_mips_events(short mips_events)
106
107
extern int poll(struct pollfd *, nfds_t, int);
108
109
-int WRAP(poll)(struct pollfd *fds, nfds_t nfds, long timeout)
+int WRAP(poll)(struct pollfd *fds, nfds_t nfds, int timeout)
110
{
111
nfds_t i;
112
int ret;
0 commit comments