From ebfbb367fbba29e825e1cf2beb88800e05e9778f Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 25 Oct 2013 09:07:42 -0700 Subject: [PATCH] Fix incorrect extern declaration of poll(2). Change-Id: I9ed5136a6b7d20fd0520e09d455a0447ea73e122 --- ndk/sources/android/libportable/arch-mips/poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ndk/sources/android/libportable/arch-mips/poll.c b/ndk/sources/android/libportable/arch-mips/poll.c index 3f971760e..854f251cd 100644 --- a/ndk/sources/android/libportable/arch-mips/poll.c +++ b/ndk/sources/android/libportable/arch-mips/poll.c @@ -104,7 +104,7 @@ static inline short change_mips_events(short mips_events) return mips_events; } -extern int poll(struct pollfd *, nfds_t, long); +extern int poll(struct pollfd *, nfds_t, int); int WRAP(poll)(struct pollfd *fds, nfds_t nfds, long timeout) {