[Git][NTPsec/ntpsec][master] Rename arg to set_use_stattime: stime => stattime
Hal Murray
gitlab at mg.gitlab.com
Wed Sep 4 00:20:00 UTC 2019
Hal Murray pushed to branch master at NTPsec / ntpsec
Commits:
24847539 by Hal Murray at 2019-09-04T00:14:22Z
Rename arg to set_use_stattime: stime => stattime
Avoids warning on CentOS 6
- - - - -
2 changed files:
- include/ntpd.h
- ntpd/ntp_proto.c
Changes:
=====================================
include/ntpd.h
=====================================
@@ -181,7 +181,7 @@ extern uint64_t stat_declined(void);
extern uint64_t stat_limitrejected(void);
extern uint64_t stat_kodsent(void);
extern uptime_t stat_use_stattime(void);
-extern void set_use_stattime(uptime_t stime);
+extern void set_use_stattime(uptime_t stattime);
=====================================
ntpd/ntp_proto.c
=====================================
@@ -226,8 +226,8 @@ uptime_t stat_use_stattime(void)
return stat_count.sys_stattime;
}
-void set_use_stattime(uptime_t stime) {
- stat_count.sys_stattime = stime;
+void set_use_stattime(uptime_t stattime) {
+ stat_count.sys_stattime = stattime;
}
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/248475392517130bde3dde30b4123a7291d013ae
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/248475392517130bde3dde30b4123a7291d013ae
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20190904/f7a985f1/attachment.htm>
More information about the vc
mailing list