summaryrefslogtreecommitdiff
path: root/src/timesync
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-10-20 03:00:46 +0900
committerLennart Poettering <lennart@poettering.net>2018-10-19 22:19:12 +0200
commit14cb109d4594ff89e8d5449a89c38e4b0d78afd8 (patch)
tree39d18b57229b9766134077240307b7efa588904f /src/timesync
parent347a19343c7975fc4c2d627150fce4b4e75f91ac (diff)
downloadsystemd-14cb109d4594ff89e8d5449a89c38e4b0d78afd8.tar.gz
tree-wide: replace 'unsigned int' with 'unsigned'
Diffstat (limited to 'src/timesync')
-rw-r--r--src/timesync/timesyncd-manager.c2
-rw-r--r--src/timesync/timesyncd-manager.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/timesync/timesyncd-manager.c b/src/timesync/timesyncd-manager.c
index 4b45650e9b..1fd1999974 100644
--- a/src/timesync/timesyncd-manager.c
+++ b/src/timesync/timesyncd-manager.c
@@ -320,7 +320,7 @@ static int manager_adjust_clock(Manager *m, double offset, int leap_sec) {
}
static bool manager_sample_spike_detection(Manager *m, double offset, double delay) {
- unsigned int i, idx_cur, idx_new, idx_min;
+ unsigned i, idx_cur, idx_new, idx_min;
double jitter;
double j;
diff --git a/src/timesync/timesyncd-manager.h b/src/timesync/timesyncd-manager.h
index 49d7205b09..97c4e2ff34 100644
--- a/src/timesync/timesyncd-manager.h
+++ b/src/timesync/timesyncd-manager.h
@@ -71,7 +71,7 @@ struct Manager {
double offset;
double delay;
} samples[8];
- unsigned int samples_idx;
+ unsigned samples_idx;
double samples_jitter;
usec_t max_root_distance_usec;