summaryrefslogtreecommitdiff
path: root/ev_select.c
diff options
context:
space:
mode:
authorroot <root>2007-10-31 20:46:44 +0000
committerroot <root>2007-10-31 20:46:44 +0000
commit2fde047707205b8d8f1c71482d2df57105217e17 (patch)
tree241bd2b8b183d33980ec463e95a6d24614f7f44b /ev_select.c
parentde6670e4475f8cc20fa55cf2c5e40f8de9df5812 (diff)
stuffs
Diffstat (limited to 'ev_select.c')
-rw-r--r--ev_select.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ev_select.c b/ev_select.c
index 46a77e2..0dfa312 100644
--- a/ev_select.c
+++ b/ev_select.c
@@ -70,7 +70,8 @@ select_modify (int fd, int oev, int nev)
vec_wi [offs] &= ~mask;
}
-static void select_poll (ev_tstamp timeout)
+static void
+select_poll (ev_tstamp timeout)
{
struct timeval tv;
int res;
@@ -117,7 +118,8 @@ static void select_poll (ev_tstamp timeout)
}
}
-void select_init (int flags)
+static void
+select_init (int flags)
{
ev_method = EVMETHOD_SELECT;
method_fudge = 1e-2; /* needed to compensate for select returning early, very conservative */
@@ -125,4 +127,3 @@ void select_init (int flags)
method_poll = select_poll;
}
-