summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2007-11-05 20:19:00 +0000
committerroot <root>2007-11-05 20:19:00 +0000
commit22c618bcb055597260be9be3a5815e08a4cea996 (patch)
treec55d1f27d8af6a1b181c17ecb953bbe9db12f3ff
parentd5b686568688adf526735190000d81a260db6c36 (diff)
*** empty log message ***
-rw-r--r--ev.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/ev.c b/ev.c
index 53491e1..7c312af 100644
--- a/ev.c
+++ b/ev.c
@@ -157,7 +157,7 @@ volatile double SIGFPE_REQ = 0.0f;
typedef struct
{
- struct ev_watcher_list *head;
+ WL head;
unsigned char events;
unsigned char reify;
} ANFD;
@@ -378,7 +378,6 @@ fd_enomem (EV_P)
for (fd = anfdmax; fd--; )
if (anfds [fd].events)
{
- close (fd);
fd_kill (EV_A_ fd);
return;
}
@@ -446,7 +445,7 @@ downheap (WT *heap, int N, int k)
typedef struct
{
- struct ev_watcher_list *head;
+ WL head;
sig_atomic_t volatile gotsig;
} ANSIG;
@@ -490,7 +489,7 @@ sighandler (int signum)
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);