aboutsummaryrefslogtreecommitdiff
path: root/runloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'runloop.c')
-rw-r--r--runloop.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/runloop.c b/runloop.c
index 119bf01..f95975c 100644
--- a/runloop.c
+++ b/runloop.c
@@ -3,6 +3,7 @@
#include <sys/select.h>
#include <sys/time.h>
#include "runloop.h"
+#include "util.h"
struct fd_list_item{
@@ -25,12 +26,6 @@ static void constructor(void){
}
-static i64 make_timestamp(void){
- struct timeval tv;
- gettimeofday(&tv,NULL);
- return (i64)tv.tv_sec*1000000+tv.tv_usec;
-}
-
void runloop_set_timeout(i64 usecs,runloop_callback *cb){
timeout_usecs=usecs;
timeout_callback=cb;