summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/libparse/clk_dcf7000.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/libparse/clk_dcf7000.c')
-rw-r--r--contrib/ntp/libparse/clk_dcf7000.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/ntp/libparse/clk_dcf7000.c b/contrib/ntp/libparse/clk_dcf7000.c
index c113ec7..30506c5 100644
--- a/contrib/ntp/libparse/clk_dcf7000.c
+++ b/contrib/ntp/libparse/clk_dcf7000.c
@@ -20,9 +20,6 @@
#if defined(REFCLOCK) && defined(CLOCK_PARSE) && defined(CLOCK_DCF7000)
-#include <sys/types.h>
-#include <sys/time.h>
-
#include "ntp_fp.h"
#include "ntp_unixtime.h"
#include "ntp_calendar.h"
@@ -140,7 +137,7 @@ inp_dcf7000(
{
unsigned int rtc;
- parseprintf(DD_PARSE, ("inp_dcf7000(0x%x, 0x%x, ...)\n", (int)parseio, (int)ch));
+ parseprintf(DD_PARSE, ("inp_dcf7000(0x%lx, 0x%x, ...)\n", (long)parseio, ch));
switch (ch)
{
OpenPOWER on IntegriCloud