mirror of
https://github.com/ericonr/sndio.git
synced 2024-02-18 04:45:21 -06:00
make i, n, nfds of the same type
This commit is contained in:
parent
5e0dea1ded
commit
fa8d95b2fa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user