Skip to content

Commit ebfbb36

Browse files
committed
Fix incorrect extern declaration of poll(2).
Change-Id: I9ed5136a6b7d20fd0520e09d455a0447ea73e122
1 parent 956fc5c commit ebfbb36

File tree

1 file changed

+1
-1
lines changed
  • ndk/sources/android/libportable/arch-mips

1 file changed

+1
-1
lines changed

ndk/sources/android/libportable/arch-mips/poll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static inline short change_mips_events(short mips_events)
104104
return mips_events;
105105
}
106106

107-
extern int poll(struct pollfd *, nfds_t, long);
107+
extern int poll(struct pollfd *, nfds_t, int);
108108

109109
int WRAP(poll)(struct pollfd *fds, nfds_t nfds, long timeout)
110110
{

0 commit comments

Comments
 (0)