summaryrefslogtreecommitdiff
path: root/ev_select.c
diff options
context:
space:
mode:
authorroot <root>2007-10-31 00:24:16 +0000
committerroot <root>2007-10-31 00:24:16 +0000
commitefb07571c1a235448b70212dc46467214da4bb92 (patch)
tree5f74ddcdc13998d65febf8c73737c5fb5f349f3f /ev_select.c
parent096e6ef16f52ddf1b6abcba43a9bbe29aa653735 (diff)
signal support
Diffstat (limited to 'ev_select.c')
-rw-r--r--ev_select.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/ev_select.c b/ev_select.c
index 63612dc..5ce1db8 100644
--- a/ev_select.c
+++ b/ev_select.c
@@ -79,14 +79,12 @@ static void select_poll (ev_tstamp timeout)
}
}
-int select_init (int flags)
+void select_init (int flags)
{
- ev_method = EVMETHOD_SELECT;
+ ev_method = EVMETHOD_SELECT;
method_fudge = 1e-2; /* needed to compensate for select returning early, very conservative */
method_modify = select_modify;
method_poll = select_poll;
-
- return 1;
}