chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
readahead-collect: check for negative return codes of fs_on_ssd()
[elogind.git]
/
src
/
util.h
diff --git
a/src/util.h
b/src/util.h
index 7ea163f2141e4c9ddda2b688a2308635fd744e5a..ae00ff50c43c901a41af89d91ad000066cfe46ba 100644
(file)
--- a/
src/util.h
+++ b/
src/util.h
@@
-73,6
+73,8
@@
usec_t now(clockid_t clock);
dual_timestamp* dual_timestamp_get(dual_timestamp *ts);
+#define dual_timestamp_is_set(ts) ((ts)->realtime > 0)
+
usec_t timespec_load(const struct timespec *ts);
struct timespec *timespec_store(struct timespec *ts, usec_t u);