return ts;
}
+/// UNNEEDED by elogind
+#if 0
dual_timestamp* dual_timestamp_from_monotonic(dual_timestamp *ts, usec_t u) {
int64_t delta;
assert(ts);
return ts;
}
+#endif // 0
usec_t timespec_load(const struct timespec *ts) {
assert(ts);
return format_timestamp_internal_us(buf, l, t, false);
}
+/// UNNEEDED by elogind
+#if 0
char *format_timestamp_us_utc(char *buf, size_t l, usec_t t) {
return format_timestamp_internal_us(buf, l, t, true);
}
+#endif // 0
char *format_timestamp_relative(char *buf, size_t l, usec_t t) {
const char *s;
return buf;
}
+/// UNNEEDED by elogind
+#if 0
void dual_timestamp_serialize(FILE *f, const char *name, dual_timestamp *t) {
assert(f);
return 0;
}
-/// UNNEEDED by elogind
-#if 0
int parse_timestamp(const char *t, usec_t *usec) {
static const struct {
const char *name;
return true;
}
-#endif // 0
clockid_t clock_boottime_or_monotonic(void) {
static clockid_t clock = -1;
return clock;
}
+#endif // 0