typedef struct
{
- struct ev_watcher_list *head;
+ WL head;
unsigned char events;
unsigned char reify;
} ANFD;
for (fd = anfdmax; fd--; )
if (anfds [fd].events)
{
- close (fd);
fd_kill (EV_A_ fd);
return;
}
typedef struct
{
- struct ev_watcher_list *head;
+ WL head;
sig_atomic_t volatile gotsig;
} ANSIG;
static void
sigcb (EV_P_ struct ev_io *iow, int revents)
{
- struct ev_watcher_list *w;
+ WL w;
int signum;
read (sigpipe [0], &revents, 1);