timesyncd: merge some variable declarations
This commit is contained in:
@@ -425,12 +425,9 @@ static int manager_receive_response(sd_event_source *source, int fd, uint32_t re
|
||||
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);
|
||||
|
||||
@@ -22,9 +22,8 @@
|
||||
#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
|
||||
|
||||
Reference in New Issue
Block a user