summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKarel Zak2014-05-06 13:16:05 +0200
committerKarel Zak2014-05-06 13:16:05 +0200
commit08ca3e26a8feb0353a960b6b6d20ccb2755db8af (patch)
tree68dd836cdb30cf752643f047b4f6548a4065d409 /include
parenthwclock: fix typo (diff)
downloadkernel-qcow2-util-linux-08ca3e26a8feb0353a960b6b6d20ccb2755db8af.tar.gz
kernel-qcow2-util-linux-08ca3e26a8feb0353a960b6b6d20ccb2755db8af.tar.xz
kernel-qcow2-util-linux-08ca3e26a8feb0353a960b6b6d20ccb2755db8af.zip
lib/timeutils: remove get_boot_time from libcommon
clock_gettime() needs -lrt, so let's keep this stuff outside libcommon.la Reported-by: Ruediger Meier <sweet_f_a@gmx.de> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/Makemodule.am1
-rw-r--r--include/timeutils.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/Makemodule.am b/include/Makemodule.am
index 2cc9fb5af..7f461c6fe 100644
--- a/include/Makemodule.am
+++ b/include/Makemodule.am
@@ -4,6 +4,7 @@ dist_noinst_HEADERS += \
include/at.h \
include/bitops.h \
include/blkdev.h \
+ include/boottime.h \
include/c.h \
include/canonicalize.h \
include/carefulputc.h \
diff --git a/include/timeutils.h b/include/timeutils.h
index b9ba0f783..bcae6137c 100644
--- a/include/timeutils.h
+++ b/include/timeutils.h
@@ -51,6 +51,5 @@ 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 */