From 929f939e6aa49952881d44706e4249ca7d644578 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Wed, 23 Apr 2014 22:59:29 +0100 Subject: dmesg: move get_boot_time() to lib/timeutils In future the last(1) will use get_boot_time() as well. Signed-off-by: Sami Kerola --- include/timeutils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/timeutils.h') diff --git a/include/timeutils.h b/include/timeutils.h index bcae6137c..b9ba0f783 100644 --- a/include/timeutils.h +++ b/include/timeutils.h @@ -51,5 +51,6 @@ typedef uint64_t nsec_t; #define FORMAT_TIMESPAN_MAX 64 int parse_timestamp(const char *t, usec_t *usec); +int get_boot_time(struct timeval *boot_time); #endif /* UTIL_LINUX_TIME_UTIL_H */ -- cgit v1.2.3-55-g7522