summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2011-06-04 05:25:02 +0000
committerroot <root>2011-06-04 05:25:02 +0000
commit436d5d174bfb936c4852a63eb03e0a3185f1502a (patch)
treec0f5297470af0fbe39b75963bad813f1f2a4fc3b /ev.c
parenta9e3edbbaef8f747345cbaabb111219272ed1a53 (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ev.c b/ev.c
index d92b0ed..c712f04 100644
--- a/ev.c
+++ b/ev.c
@@ -872,14 +872,6 @@ ev_sleep (ev_tstamp delay)
}
}
-inline_speed int
-ev_timeout_to_ms (ev_tstamp timeout)
-{
- int ms = timeout * 1000. + .999999;
-
- return expect_true (ms) ? ms : timeout < 1e-6 ? 0 : 1;
-}
-
/*****************************************************************************/
#define MALLOC_ROUND 4096 /* prefer to allocate in chunks of this size, must be 2**n and >> 4 longs */