summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/timespec.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/timespec.h')
-rw-r--r--libglusterfs/src/timespec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/timespec.h b/libglusterfs/src/timespec.h
index 73db2d16abe..871871d538c 100644
--- a/libglusterfs/src/timespec.h
+++ b/libglusterfs/src/timespec.h
@@ -25,5 +25,7 @@ timespec_adjust_delta(struct timespec *ts, struct timespec delta);
void
timespec_sub(const struct timespec *begin, const struct timespec *end,
struct timespec *res);
+int
+timespec_cmp(const struct timespec *lhs_ts, const struct timespec *rhs_ts);
#endif /* __INCLUDE_TIMESPEC_H__ */