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