From 5d7bdfd653f6bafc1f672f1372dce5c0479ccf39 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 6 May 2014 16:38:53 +0200 Subject: [PATCH] include/boottime: add a new file Signed-off-by: Karel Zak --- include/boottime.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 include/boottime.h diff --git a/include/boottime.h b/include/boottime.h new file mode 100644 index 0000000000..3518848fe4 --- /dev/null +++ b/include/boottime.h @@ -0,0 +1,9 @@ +#ifndef UTIL_LINUX_BOOTTIME_H +#define UTIL_LINUX_BOOTTIME_H + +/* + * Uses clock_gettime() that requires -lrt + */ +extern int get_boot_time(struct timeval *boot_time); + +#endif /* UTIL_LINUX_BOOTTIME_H */ -- 2.47.2