summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/libparse/clk_rawdcf.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/libparse/clk_rawdcf.c')
-rw-r--r--contrib/ntp/libparse/clk_rawdcf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/ntp/libparse/clk_rawdcf.c b/contrib/ntp/libparse/clk_rawdcf.c
index c4df5b5..40ec8ad 100644
--- a/contrib/ntp/libparse/clk_rawdcf.c
+++ b/contrib/ntp/libparse/clk_rawdcf.c
@@ -20,9 +20,6 @@
#if defined(REFCLOCK) && defined(CLOCK_PARSE) && defined(CLOCK_RAWDCF)
-#include <sys/types.h>
-#include <sys/time.h>
-
#include "ntp_fp.h"
#include "ntp_unixtime.h"
#include "ntp_calendar.h"
@@ -549,7 +546,7 @@ inp_rawdcf(
{
static struct timeval timeout = { 1, 500000 }; /* 1.5 secongs denote second #60 */
- parseprintf(DD_PARSE, ("inp_rawdcf(0x%x, 0x%x, ...)\n", (int)parseio, (int)ch));
+ parseprintf(DD_PARSE, ("inp_rawdcf(0x%lx, 0x%x, ...)\n", (long)parseio, ch));
parseio->parse_dtime.parse_stime = *tstamp; /* collect timestamp */
OpenPOWER on IntegriCloud