if (oev == nev)
return;
- array_needsize (pollidxs, pollidxmax, fd + 1, pollidx_init);
+ array_needsize (int, pollidxs, pollidxmax, fd + 1, pollidx_init);
idx = pollidxs [fd];
if (idx < 0) /* need to allocate a new pollfd */
{
idx = pollcnt++;
- array_needsize (polls, pollmax, pollcnt, );
+ array_needsize (struct pollfd, polls, pollmax, pollcnt, );
polls [idx].fd = fd;
}
else if (errno == ENOMEM && !syserr_cb)
fd_enomem (EV_A);
else if (errno != EINTR)
- syserr ();
+ syserr ("(libev) poll");
return;
}
ev_free (pollidxs);
ev_free (polls);
}
+