[Git][NTPsec/ntpsec][master] Address GitLab issue #605: Warnings for shadowed declaration for "refclock_name"
Eric S. Raymond
gitlab at mg.gitlab.com
Sat Aug 24 04:27:27 UTC 2019
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
688460e3 by Eric S. Raymond at 2019-08-23T19:46:40Z
Address GitLab issue #605: Warnings for shadowed declaration for "refclock_name"
- - - - -
1 changed file:
- ntpd/ntp_wrapdate.c
Changes:
=====================================
ntpd/ntp_wrapdate.c
=====================================
@@ -224,7 +224,7 @@ gpsfix_century(
*/
l_fp
eval_gps_time(
- const char * refclock_name, /* ffor logging */
+ const char * clockname, /* ffor logging */
const struct calendar * gpst, /* GPS time stamp */
const struct timespec * tofs, /* GPS frac second & offset */
const bool trusted, /* do we fully trust dates from this GPS? */
@@ -309,7 +309,7 @@ eval_gps_time(
*epoch_warp = (short)weeks;
LOGIF(CLOCKINFO, (LOG_INFO,
"%s Changed GPS epoch warp to %d weeks",
- refclock_name, weeks));
+ clockname, weeks));
}
/* - build result and be done */
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/688460e305490427328d3e2eb759a11d219b7c29
--
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/688460e305490427328d3e2eb759a11d219b7c29
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/20190824/97fb100d/attachment.htm>
More information about the vc
mailing list