make i, n, nfds of the same type

This commit is contained in:
Alexandre Ratchov 2014-08-10 14:05:58 +02:00
parent 5e0dea1ded
commit fa8d95b2fa
1 changed files with 1 additions and 2 deletions

View File

@ -274,7 +274,6 @@ file_del(struct file *f)
int
file_poll(void)
{
nfds_t nfds;
struct pollfd pfds[MAXFDS];
struct file *f, **pf;
struct timespec ts;
@ -282,7 +281,7 @@ file_poll(void)
struct timespec sleepts;
struct timespec ts0, ts1;
long us;
int i, n;
int i, n, nfds;
#endif
long long delta_nsec;
int revents, res, immed;