[Git][NTPsec/ntpsec][master] More isolation of the packetstamp code.

Eric S. Raymond gitlab at mg.gitlab.com
Fri Dec 2 07:46:19 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
6eb6bc47 by Eric S. Raymond at 2016-12-02T02:45:43-05:00
More isolation of the packetstamp code.

- - - - -


2 changed files:

- ntpd/ntp_io.c
- ntpd/ntp_packetstamp.c


Changes:

=====================================
ntpd/ntp_io.c
=====================================
--- a/ntpd/ntp_io.c
+++ b/ntpd/ntp_io.c
@@ -10,12 +10,6 @@
 #if !defined(FNM_CASEFOLD) && defined(FNM_IGNORECASE)
 # define FNM_CASEFOLD FNM_IGNORECASE
 #endif
-#ifdef HAVE_SYS_IOCTL_H
-# include <sys/ioctl.h>
-#endif
-#ifdef HAVE_SYS_SOCKIO_H	/* UXPV: SIOC* #defines (Frank Vance <fvance at waii.com>) */
-# include <sys/sockio.h>
-#endif
 #include <sys/uio.h>
 
 #include "ntp_machine.h"


=====================================
ntpd/ntp_packetstamp.c
=====================================
--- a/ntpd/ntp_packetstamp.c
+++ b/ntpd/ntp_packetstamp.c
@@ -13,10 +13,8 @@
 # include <sys/sockio.h>
 #endif
 
-#include "ntp_machine.h"
 #include "ntpd.h"
 #include "ntp_stdlib.h"
-#include "ntp_assert.h"
 #include "timespecops.h"
 
 #if defined(SO_BINTIME) && defined(SCM_BINTIME) && defined(CMSG_FIRSTHDR)



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/6eb6bc471d6aeaf71dd4c8c9323a89be7803298f
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161202/656c243e/attachment.html>


More information about the vc mailing list