diff options
author | Sami Kerola | 2014-04-23 23:59:29 +0200 |
---|---|---|
committer | Sami Kerola | 2014-05-04 12:42:03 +0200 |
commit | 929f939e6aa49952881d44706e4249ca7d644578 (patch) | |
tree | 0d7b7b9d6a897a941eb949d8eaf21efb91084ad7 /include/timeutils.h | |
parent | uuidd: remove timeout from systemd service file (diff) | |
download | kernel-qcow2-util-linux-929f939e6aa49952881d44706e4249ca7d644578.tar.gz kernel-qcow2-util-linux-929f939e6aa49952881d44706e4249ca7d644578.tar.xz kernel-qcow2-util-linux-929f939e6aa49952881d44706e4249ca7d644578.zip |
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 <kerolasa@iki.fi>
Diffstat (limited to 'include/timeutils.h')
-rw-r--r-- | include/timeutils.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |