diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2023-06-06 12:43:04 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2023-06-06 12:44:51 +0000 |
| commit | e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5 (patch) | |
| tree | d5c55bc3f631f00a0f6716df5ec951e3a41a0595 /contrib/ntp/libparse | |
| parent | 62f9bcf2b4271d58ccf0bd8a81c540bb99a53ef7 (diff) | |
| parent | ab1f1aa8333369a83ff284848fc3fc2e52d5f29f (diff) | |
Diffstat (limited to 'contrib/ntp/libparse')
| -rw-r--r-- | contrib/ntp/libparse/clk_hopf6021.c | 5 | ||||
| -rw-r--r-- | contrib/ntp/libparse/clk_wharton.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/contrib/ntp/libparse/clk_hopf6021.c b/contrib/ntp/libparse/clk_hopf6021.c index c5980ef13f2b..b0b0c1ff2a73 100644 --- a/contrib/ntp/libparse/clk_hopf6021.c +++ b/contrib/ntp/libparse/clk_hopf6021.c @@ -25,7 +25,6 @@ #include "ntp_fp.h" #include "ntp_unixtime.h" #include "ntp_calendar.h" -#include "ascii.h" #include "parse.h" @@ -37,6 +36,8 @@ extern int printf (const char *, ...); #endif +#include "ascii.h" + /* * hopf Funkuhr 6021 * used with 9600,8N1, @@ -263,7 +264,7 @@ hexval( } #else /* not (REFCLOCK && CLOCK_PARSE && CLOCK_HOPF6021) */ -int clk_hopf6021_bs; +NONEMPTY_TRANSLATION_UNIT #endif /* not (REFCLOCK && CLOCK_PARSE && CLOCK_HOPF6021) */ /* 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) */ /* |
