summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-07 14:41:22 +0000
committerbde <bde@FreeBSD.org>1995-12-07 14:41:22 +0000
commitcfa8b15392dfa0d9beabf59528a65ec3183cce39 (patch)
treef6e82f433a924478614c01e66734172381a9ecfc /usr.sbin/xntpd
parentccd723f54349c8ad79463a6b2c00160241599c78 (diff)
downloadFreeBSD-src-cfa8b15392dfa0d9beabf59528a65ec3183cce39.zip
FreeBSD-src-cfa8b15392dfa0d9beabf59528a65ec3183cce39.tar.gz
Added missing data to a struct initializer by copying it from similar
initializers. This may not be correct, but the initializer shouldn't have compiled before.
Diffstat (limited to 'usr.sbin/xntpd')
-rw-r--r--usr.sbin/xntpd/parse/clk_trimble.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/xntpd/parse/clk_trimble.c b/usr.sbin/xntpd/parse/clk_trimble.c
index 187aed5..4cb96e2 100644
--- a/usr.sbin/xntpd/parse/clk_trimble.c
+++ b/usr.sbin/xntpd/parse/clk_trimble.c
@@ -41,7 +41,9 @@ static struct format trimsv6_fmt =
static unsigned LONG cvt_trimsv6();
clockformat_t clock_trimsv6 =
-{ cvt_trimsv6, /* Trimble conversion */
+{
+ (unsigned LONG (*)())0, /* XXX?: no input handling */
+ cvt_trimsv6, /* Trimble conversion */
syn_simple, /* easy time stamps for RS232 (fallback) */
pps_simple, /* easy PPS monitoring */
(unsigned LONG (*)())0, /* no time code synthesizer monitoring */
@@ -49,6 +51,7 @@ clockformat_t clock_trimsv6 =
"Trimble SV6",
37, /* string buffer */
F_START|F_END|SYNC_START|SYNC_ONE, /* paket START/END delimiter, START synchronisation, PPS ONE sampling */
+ 0, /* XXX?: no private data (complete messages) */
{ 0, 0},
'>',
'<',
OpenPOWER on IntegriCloud