summaryrefslogtreecommitdiffstats
path: root/include/monotonic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/monotonic.h')
-rw-r--r--include/monotonic.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/include/monotonic.h b/include/monotonic.h
index bbebfe0b9..a499fa34a 100644
--- a/include/monotonic.h
+++ b/include/monotonic.h
@@ -1,18 +1,10 @@
-#ifndef UTIL_LINUX_BOOTTIME_H
-#define UTIL_LINUX_BOOTTIME_H
+#ifndef UTIL_LINUX_MONOTONIC_H
+#define UTIL_LINUX_MONOTONIC_H
-/*
- * Uses clock_gettime() that requires $CLOCKGETTIME_LIBS
- */
-#include <signal.h>
#include <sys/time.h>
extern int get_boot_time(struct timeval *boot_time);
extern int gettime_monotonic(struct timeval *tv);
-extern int setup_timer(timer_t * t_id, struct itimerval *timeout,
- void (*timeout_handler)(int, siginfo_t *, void *));
-extern void cancel_timer(timer_t * t_id);
-
-#endif /* UTIL_LINUX_BOOTTIME_H */
+#endif /* UTIL_LINUX_MONOTONIC_H */