summaryrefslogtreecommitdiff
path: root/libparse/parse.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2014-12-20 22:52:39 +0000
committerCy Schubert <cy@FreeBSD.org>2014-12-20 22:52:39 +0000
commitb5e14a1344528861a7016aa2c6b0f2e9630d1526 (patch)
treef04bed14f7e8aed5c0e9d2f7785175c7951036d3 /libparse/parse.c
parent2b45e011ca352ce509bc83ae148230aeee0c7e0d (diff)
Notes
Diffstat (limited to 'libparse/parse.c')
-rw-r--r--libparse/parse.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libparse/parse.c b/libparse/parse.c
index 83e560aff0c6..85e5299cb195 100644
--- a/libparse/parse.c
+++ b/libparse/parse.c
@@ -51,7 +51,7 @@ static char rcsid[] = "parse.c,v 4.20 2005/08/06 17:39:40 kardel RELEASE_2005080
#endif
#include "ntp_fp.h"
-#include "ntp_unixtime.h"
+#include "timevalops.h"
#include "ntp_calendar.h"
#include "ntp_stdlib.h"
#include "ntp_machine.h"
@@ -128,10 +128,6 @@ parse_timedout(
delta.tv_usec += 1000000;
}
#else
- extern long tstouslo[];
- extern long tstousmid[];
- extern long tstoushi[];
-
l_fp delt;
delt = tstamp->fp;
@@ -719,7 +715,7 @@ timepacket(
default:
/* shouldn't happen */
#ifndef PARSEKERNEL
- msyslog(LOG_WARNING, "parse: INTERNAL error: bad return code of convert routine \"%s\"\n", clockformats[format]->name);
+ msyslog(LOG_WARNING, "parse: INTERNAL error: bad return code of convert routine \"%s\"", clockformats[format]->name);
#endif
return CVT_FAIL|cvtrtc;
}