aboutsummaryrefslogtreecommitdiff
path: root/contrib/ntp/libparse/clk_wharton.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2023-06-06 12:43:04 +0000
committerCy Schubert <cy@FreeBSD.org>2023-06-06 12:44:51 +0000
commite6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5 (patch)
treed5c55bc3f631f00a0f6716df5ec951e3a41a0595 /contrib/ntp/libparse/clk_wharton.c
parent62f9bcf2b4271d58ccf0bd8a81c540bb99a53ef7 (diff)
parentab1f1aa8333369a83ff284848fc3fc2e52d5f29f (diff)
downloadsrc-e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5.tar.gz
src-e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5.zip
ntp: import ntp-4.2.8p17
Fixes two small bugs including one regression. MFC after: 3 days Merge commit 'ab1f1aa8333369a83ff284848fc3fc2e52d5f29f'
Diffstat (limited to 'contrib/ntp/libparse/clk_wharton.c')
-rw-r--r--contrib/ntp/libparse/clk_wharton.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/contrib/ntp/libparse/clk_wharton.c b/contrib/ntp/libparse/clk_wharton.c
index 371137dc6fe8..fbe9cc95f5f7 100644
--- a/contrib/ntp/libparse/clk_wharton.c
+++ b/contrib/ntp/libparse/clk_wharton.c
@@ -15,7 +15,6 @@
*/
#include "ntp_fp.h"
-#include "ascii.h"
#include "parse.h"
#ifndef PARSESTREAM
@@ -26,6 +25,8 @@
extern void printf (const char *, ...);
#endif
+#include "ascii.h"
+
/*
* In private e-mail alastair@wharton.co.uk said :
* "If you are going to use the 400A and 404.2 system [for ntp] I recommend
@@ -166,7 +167,7 @@ clockformat_t clock_wharton_400a =
};
#else /* not (REFCLOCK && CLOCK_PARSE && CLOCK_WHARTON_400A) */
-int clk_wharton_400a_bs;
+NONEMPTY_TRANSLATION_UNIT
#endif /* not (REFCLOCK && CLOCK_PARSE && CLOCK_WHARTON_400A) */
/*