From: Karel Zak Date: Tue, 6 May 2014 14:38:53 +0000 (+0200) Subject: include/boottime: add a new file X-Git-Tag: v2.25-rc1~201 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d7bdfd653f6bafc1f672f1372dce5c0479ccf39;p=thirdparty%2Futil-linux.git include/boottime: add a new file Signed-off-by: Karel Zak --- 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 */