[Git][NTPsec/ntpsec][master] Macro safety cleanup.
Eric S. Raymond
gitlab at mg.gitlab.com
Mon Dec 26 17:44:40 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
e743b564 by Eric S. Raymond at 2016-12-26T12:44:32-05:00
Macro safety cleanup.
- - - - -
1 changed file:
- include/ntp_fp.h
Changes:
=====================================
include/ntp_fp.h
=====================================
--- a/include/ntp_fp.h
+++ b/include/ntp_fp.h
@@ -347,9 +347,9 @@ extern bool adj_systime (double, int (*adjtime)(const struct timeval *, struct t
#define ufptoa(fpv, ndec) dofptoa((fpv), false, (ndec), false)
#define ufptoms(fpv, ndec) dofptoa((fpv), false, (ndec), true)
-#define ulfptoa(fpv, ndec) dolfptoa(fpv, 0, (ndec), 0)
-#define ulfptoms(fpv, ndec) dolfptoa(fpv, 0, (ndec), 1)
-#define umfptoa(lfp, ndec) dolfptoa((lfp), 0, (ndec), 0)
+#define ulfptoa(fpv, ndec) dolfptoa((fpv), false, (ndec), false)
+#define ulfptoms(fpv, ndec) dolfptoa((fpv), false, (ndec), true)
+#define umfptoa(lfp, ndec) dolfptoa((lfp), false, (ndec), false)
/*
* Optional callback from libntp step_systime() to ntpd. Optional
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/e743b5647b0f8d6c66afb22d3d93ebd1e422775c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20161226/986d1e20/attachment.html>
More information about the vc
mailing list