[Git][NTPsec/ntpsec][master] 2 commits: Document a compiler-portability nit.
Eric S. Raymond
gitlab at mg.gitlab.com
Tue Aug 9 22:23:47 UTC 2016
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
16bceb6f by Eric S. Raymond at 2016-08-09T13:00:55-04:00
Document a compiler-portability nit.
- - - - -
c7ee06fb by Eric S. Raymond at 2016-08-09T18:23:07-04:00
Documentation polishing.
- - - - -
2 changed files:
- docs/includes/ntpviz-body.txt
- include/ntp.h
Changes:
=====================================
docs/includes/ntpviz-body.txt
=====================================
--- a/docs/includes/ntpviz-body.txt
+++ b/docs/includes/ntpviz-body.txt
@@ -28,9 +28,9 @@ on. With -s you set the start time as an ISO8601-style timestamp
is for the period to be 7 days and the start time to be set so that adding
the period just reaches the last logfile entry.
-The --clock-offset, --clock-jitter, and --clock-stability options
-chose what graph is generated; choose only one. By default, the
-GNUPLOT for the graph is reported; with -g you get the rendered PNG.
+The plot options choose what graph is generated; invoke only one. By
+default, the GNUPLOT for the graph is reported; with -g you get the
+rendered PNG.
The following plots are available:
@@ -52,9 +52,9 @@ The following plots are available:
error for any of these names not to appear in peerstats.
--all-peer-offsets::
- Report all peer offsets. This is only a different
- option name from --peer-offsets only because of a minor limitation
- in the Python standard library.
+ Report all peer offsets. This is a different option name from
+ --peer-offsets only because of a minor limitation in the Python
+ standard library.
--peer-jitter=host1[,host2...]::
Peer jitter from local clock time, from peerstats (field 7)
@@ -62,7 +62,7 @@ The following plots are available:
error for any of these names not to appear in peerstats.
--all-peer-jitters::
- Report all peer jitters. This is only a different option name from
+ Report all peer jitters. This is a different option name from
--peer-offsets only because of a limitation in the Python
standard library.
=====================================
include/ntp.h
=====================================
--- a/include/ntp.h
+++ b/include/ntp.h
@@ -10,7 +10,10 @@
#if (_XOPEN_SOURCE >= 600) || (__STDC_VERSION__ >= 199901L)
/*
* Supply GCCisms that stop being visible if we tell it we need the
- * prototype for strptime(3).
+ * prototype for strptime(3). Note that this conditionalization is
+ * not actually necessary with -std=gnu99; we're leaving it here as
+ * documentation. Ideally all these nonstandard types should go away
+ * to be replaced by POSIX typedefs.
*/
typedef unsigned long u_long;
typedef unsigned short u_short;
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/89d6ade147b81e69fd7e599fc9f94bdc081efa73...c7ee06fbc960672784ed10980490d9ea18f427bd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160809/da8f7a53/attachment.html>
More information about the vc
mailing list