diff options
author | Ivan Shapovalov <intelfx@intelfx.name> | 2016-09-15 05:19:31 +0300 |
---|---|---|
committer | Ivan Shapovalov <intelfx@intelfx.name> | 2016-09-15 05:21:09 +0300 |
commit | 3a730176b36bc1191c54b149a8147bbf6ec8e482 (patch) | |
tree | e9a1c3bbf55bf62afbb17654e47f0cc4868fca7a /src/basic/time-util.h | |
parent | f5b15d1b94717c65ea134cb56462d734a4c37a49 (diff) |
time-util: export timespec_load_nsec()
Diffstat (limited to 'src/basic/time-util.h')
-rw-r--r-- | src/basic/time-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/time-util.h b/src/basic/time-util.h index 99be5ce6ee..558b0b5b7f 100644 --- a/src/basic/time-util.h +++ b/src/basic/time-util.h @@ -111,6 +111,7 @@ static inline bool triple_timestamp_is_set(triple_timestamp *ts) { usec_t triple_timestamp_by_clock(triple_timestamp *ts, clockid_t clock); usec_t timespec_load(const struct timespec *ts) _pure_; +nsec_t timespec_load_nsec(const struct timespec *ts) _pure_; struct timespec *timespec_store(struct timespec *ts, usec_t u); usec_t timeval_load(const struct timeval *tv) _pure_; |