struct cmsghdr *cmsg;
struct timespec *recv_time = NULL;
ssize_t len;
- double origin, receive, trans, dest;
- double delay, offset;
- double root_distance;
+ double origin, receive, trans, dest, delay, offset, root_distance;
bool spike;
- int leap_sec;
- int r;
+ int leap_sec, r;
assert(source);
assert(m);
#include "user-util.h"
static int load_clock_timestamp(uid_t uid, gid_t gid) {
+ usec_t min = TIME_EPOCH * USEC_PER_SEC, ct;
_cleanup_close_ int fd = -1;
- usec_t min = TIME_EPOCH * USEC_PER_SEC;
- usec_t ct;
int r;
/* Let's try to make sure that the clock is always