[Git][NTPsec/ntpsec][master] 2 commits: Remove redundant header inclusions.
Eric S. Raymond
gitlab at mg.gitlab.com
Wed Feb 1 19:30:21 UTC 2017
Eric S. Raymond pushed to branch master at NTPsec / ntpsec
Commits:
889bfc6e by Eric S. Raymond at 2017-02-01T14:30:05-05:00
Remove redundant header inclusions.
- - - - -
db5fa2d5 by Eric S. Raymond at 2017-02-01T14:30:05-05:00
Update TODO items.
- - - - -
20 changed files:
- devel/TODO
- ntpd/ntp_peer.c
- ntpd/ntp_proto.c
- ntpd/ntp_signd.c
- ntpd/refclock_arbiter.c
- ntpd/refclock_generic.c
- ntpd/refclock_gpsd.c
- ntpd/refclock_hpgps.c
- ntpd/refclock_jupiter.c
- ntpd/refclock_local.c
- ntpd/refclock_magnavox.c
- ntpd/refclock_modem.c
- ntpd/refclock_neoclock.c
- ntpd/refclock_nmea.c
- ntpd/refclock_pps.c
- ntpd/refclock_shm.c
- ntpd/refclock_spectracom.c
- ntpd/refclock_trimble.c
- ntpd/refclock_truetime.c
- ntpd/refclock_zyfer.c
Changes:
=====================================
devel/TODO
=====================================
--- a/devel/TODO
+++ b/devel/TODO
@@ -88,6 +88,9 @@ Neither is ideal, easy pickings for someone to code on.
(and multiple inbound NTP connections, and a hole in your firewall) even when
it has a known-good local timesource like a GPS. This should be fixed.
+* We could open only V6 sockets and allow them to handle mapped PV4 addresses,
+ as described at http://man7.org/linux/man-pages/man7/ipv6.7.html
+
* The code used for asynchronous DNS lookup is more general, more complex,
and more bug-prone than it should be. Either our version should be
rewritten and simplified or (better idea!) it should be replaced by
@@ -100,7 +103,7 @@ Neither is ideal, easy pickings for someone to code on.
(or scapy) and loosely modeled on wireshark.
* Measure time from the clock reading to transmission for outbound
- packets. Use the distribution to correct for computation time
+ packets. Use the measurement to correct for computation time
before transmission.
* We might be able to eliminate a lot of the Linux runtime
=====================================
ntpd/ntp_peer.c
=====================================
--- a/ntpd/ntp_peer.c
+++ b/ntpd/ntp_peer.c
@@ -9,7 +9,6 @@
#include "ntpd.h"
#include "ntp_lists.h"
#include "ntp_stdlib.h"
-#include "ntp_control.h"
#include "ntp_random.h"
/*
=====================================
ntpd/ntp_proto.c
=====================================
--- a/ntpd/ntp_proto.c
+++ b/ntpd/ntp_proto.c
@@ -7,7 +7,6 @@
#include "ntpd.h"
#include "ntp_endian.h"
#include "ntp_stdlib.h"
-#include "ntp_control.h"
#include "ntp_leapsec.h"
#include "refidsmear.h"
=====================================
ntpd/ntp_signd.c
=====================================
--- a/ntpd/ntp_signd.c
+++ b/ntpd/ntp_signd.c
@@ -9,7 +9,6 @@
#include "ntpd.h"
#include "ntp_io.h"
#include "ntp_stdlib.h"
-#include "ntp_control.h"
#include <string.h>
#include <stdio.h>
=====================================
ntpd/refclock_arbiter.c
=====================================
--- a/ntpd/refclock_arbiter.c
+++ b/ntpd/refclock_arbiter.c
@@ -8,7 +8,6 @@
#include "ntp_io.h"
#include "ntp_refclock.h"
#include "ntp_stdlib.h"
-#include "ntp_control.h" /* for CTL_* clocktypes */
#include <stdio.h>
#include <ctype.h>
=====================================
ntpd/refclock_generic.c
=====================================
--- a/ntpd/refclock_generic.c
+++ b/ntpd/refclock_generic.c
@@ -68,7 +68,6 @@
#include "ntpd.h"
#include "ntp_refclock.h"
-#include "ntp_control.h" /* for CTL_* clocktypes */
#include "ntp_calendar.h"
#include <string.h>
=====================================
ntpd/refclock_gpsd.c
=====================================
--- a/ntpd/refclock_gpsd.c
+++ b/ntpd/refclock_gpsd.c
@@ -69,7 +69,6 @@
#include <config.h>
#include "ntp.h"
#include "ntp_types.h"
-#include "ntp_control.h" /* for CTL_* clocktypes */
/* =====================================================================
* Get the little JSMN library directly into our guts. Use the 'parent
=====================================
ntpd/refclock_hpgps.c
=====================================
--- a/ntpd/refclock_hpgps.c
+++ b/ntpd/refclock_hpgps.c
@@ -8,7 +8,6 @@
#include "ntp_io.h"
#include "ntp_refclock.h"
#include "ntp_stdlib.h"
-#include "ntp_control.h" /* for CTL_* clocktypes */
#include <stdio.h>
#include <ctype.h>
=====================================
ntpd/refclock_jupiter.c
=====================================
--- a/ntpd/refclock_jupiter.c
+++ b/ntpd/refclock_jupiter.c
@@ -11,7 +11,6 @@
#include "ntp_io.h"
#include "ntp_refclock.h"
#include "ntp_stdlib.h"
-#include "ntp_control.h" /* for CTL_* clocktypes */
#include "ntp_calendar.h"
#include <stdio.h>
=====================================
ntpd/refclock_local.c
=====================================
--- a/ntpd/refclock_local.c
+++ b/ntpd/refclock_local.c
@@ -7,7 +7,6 @@
#include "ntpd.h"
#include "ntp_refclock.h"
#include "ntp_stdlib.h"
-#include "ntp_control.h" /* for CTL_* clocktypes */
#include "ntp_syscall.h"
#include <stdio.h>
=====================================
ntpd/refclock_magnavox.c
=====================================
--- a/ntpd/refclock_magnavox.c
+++ b/ntpd/refclock_magnavox.c
@@ -16,7 +16,6 @@
#include <config.h>
#include "ntpd.h"
#include "ntp_io.h"
-#include "ntp_control.h"
#include "ntp_refclock.h"
#include "ntp_stdlib.h"
#include "ntp_calendar.h"
=====================================
ntpd/refclock_modem.c
=====================================
--- a/ntpd/refclock_modem.c
+++ b/ntpd/refclock_modem.c
@@ -8,7 +8,6 @@
#include "ntp_io.h"
#include "ntp_refclock.h"
#include "ntp_stdlib.h"
-#include "ntp_control.h" /* for CTL_* clocktypes */
#include <stdio.h>
#include <ctype.h>
=====================================
ntpd/refclock_neoclock.c
=====================================
--- a/ntpd/refclock_neoclock.c
+++ b/ntpd/refclock_neoclock.c
@@ -20,7 +20,6 @@
#include "ntpd.h"
#include "ntp_io.h"
-#include "ntp_control.h"
#include "ntp_refclock.h"
#include "ntp_stdlib.h"
=====================================
ntpd/refclock_nmea.c
=====================================
--- a/ntpd/refclock_nmea.c
+++ b/ntpd/refclock_nmea.c
@@ -31,7 +31,6 @@
#include "ntp_refclock.h"
#include "ntp_stdlib.h"
#include "ntp_calendar.h"
-#include "ntp_control.h" /* for CTL_* clocktypes */
#include "timespecops.h"
#ifdef HAVE_PPSAPI
=====================================
ntpd/refclock_pps.c
=====================================
--- a/ntpd/refclock_pps.c
+++ b/ntpd/refclock_pps.c
@@ -9,7 +9,6 @@
#include "ntp_io.h"
#include "ntp_refclock.h"
#include "ntp_stdlib.h"
-#include "ntp_control.h" /* for CTL_* clocktypes */
/*
* This driver requires the PPSAPI interface (RFC 2783)
=====================================
ntpd/refclock_shm.c
=====================================
--- a/ntpd/refclock_shm.c
+++ b/ntpd/refclock_shm.c
@@ -20,7 +20,6 @@
#undef fileno
#include "ntp_stdlib.h"
#include "ntp_assert.h"
-#include "ntp_control.h"
#undef fileno
#include <ctype.h>
=====================================
ntpd/refclock_spectracom.c
=====================================
--- a/ntpd/refclock_spectracom.c
+++ b/ntpd/refclock_spectracom.c
@@ -9,7 +9,6 @@
#include "ntp_refclock.h"
#include "ntp_calendar.h"
#include "ntp_stdlib.h"
-#include "ntp_control.h" /* for CTL_* clocktypes */
#include <stdio.h>
#include <ctype.h>
=====================================
ntpd/refclock_trimble.c
=====================================
--- a/ntpd/refclock_trimble.c
+++ b/ntpd/refclock_trimble.c
@@ -57,7 +57,6 @@
#include "ntpd.h"
#include "ntp_io.h"
-#include "ntp_control.h"
#include "ntp_refclock.h"
#include "ntp_stdlib.h"
=====================================
ntpd/refclock_truetime.c
=====================================
--- a/ntpd/refclock_truetime.c
+++ b/ntpd/refclock_truetime.c
@@ -12,7 +12,6 @@
#include "ntp_io.h"
#include "ntp_refclock.h"
#include "ntp_stdlib.h"
-#include "ntp_control.h" /* for CTL_* clocktypes */
/* This should be an atom clock but those are very hard to build.
*
=====================================
ntpd/refclock_zyfer.c
=====================================
--- a/ntpd/refclock_zyfer.c
+++ b/ntpd/refclock_zyfer.c
@@ -10,7 +10,6 @@
#include "ntp_io.h"
#include "ntp_refclock.h"
#include "ntp_stdlib.h"
-#include "ntp_control.h"
#include <stdio.h>
#include <ctype.h>
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/f68a38763a74f7685cfcac883f24b7aff9410ea5...db5fa2d5647a3b16bc66d5a09ab8e492ae76f10b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170201/91fe1439/attachment.html>
More information about the vc
mailing list