diff options
Diffstat (limited to 'runloop.c')
-rw-r--r-- | runloop.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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; |