summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKarel Zak2014-11-19 11:54:47 +0100
committerKarel Zak2014-11-19 11:54:47 +0100
commitcd2876d252215fb3fbe46f787cb37cd4fbd64e53 (patch)
tree8b12443080179b8e99a010b88b0446c061711e66 /include
parentbuild-sys: use CLOCKGETTIME_LIBS (diff)
downloadkernel-qcow2-util-linux-cd2876d252215fb3fbe46f787cb37cd4fbd64e53.tar.gz
kernel-qcow2-util-linux-cd2876d252215fb3fbe46f787cb37cd4fbd64e53.tar.xz
kernel-qcow2-util-linux-cd2876d252215fb3fbe46f787cb37cd4fbd64e53.zip
build-sys: move all around clock_gettime() to monotonic.c
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/Makemodule.am2
-rw-r--r--include/monotonic.h (renamed from include/boottime.h)2
-rw-r--r--include/timeutils.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/Makemodule.am b/include/Makemodule.am
index d162d24b4..c4a52e4cf 100644
--- a/include/Makemodule.am
+++ b/include/Makemodule.am
@@ -4,7 +4,7 @@ dist_noinst_HEADERS += \
include/at.h \
include/bitops.h \
include/blkdev.h \
- include/boottime.h \
+ include/monotonic.h \
include/c.h \
include/canonicalize.h \
include/carefulputc.h \
diff --git a/include/boottime.h b/include/monotonic.h
index f1d0d0b27..f3b03d3d0 100644
--- a/include/boottime.h
+++ b/include/monotonic.h
@@ -6,4 +6,6 @@
*/
extern int get_boot_time(struct timeval *boot_time);
+extern int gettime_monotonic(struct timeval *tv);
+
#endif /* UTIL_LINUX_BOOTTIME_H */
diff --git a/include/timeutils.h b/include/timeutils.h
index 97f054489..8ed501b9d 100644
--- a/include/timeutils.h
+++ b/include/timeutils.h
@@ -53,6 +53,4 @@ typedef uint64_t nsec_t;
int parse_timestamp(const char *t, usec_t *usec);
-int gettime_monotonic(struct timeval *tv);
-
#endif /* UTIL_LINUX_TIME_UTIL_H */