summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/util.h b/util.h
deleted file mode 100644
index c550b4f..0000000
--- a/util.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef fooutilhfoo
-#define fooutilhfoo
-
-#include <sys/time.h>
-#include <time.h>
-#include <inttypes.h>
-
-typedef uint64_t usec_t;
-
-usec_t timeval_diff(const struct timeval *a, const struct timeval *b);
-int timeval_cmp(const struct timeval *a, const struct timeval *b);
-usec_t timeval_age(const struct timeval *tv);
-void timeval_add(struct timeval *tv, usec_t v);
-
-int set_nonblock(int fd);
-int set_cloexec(int fd);
-
-int wait_for_write(int fd, struct timeval *end);
-int wait_for_read(int fd, struct timeval *end);
-
-#endif