From 0b0c40a74f7959b8d7d71f883715ac667a6f119a Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Wed, 21 Oct 2015 19:16:13 +0000 Subject: Merge NTP 4.2.8p4 into dist. --- tests/libntp/uglydate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/libntp/uglydate.c') diff --git a/tests/libntp/uglydate.c b/tests/libntp/uglydate.c index a8d02d15b910..f47f3e429375 100644 --- a/tests/libntp/uglydate.c +++ b/tests/libntp/uglydate.c @@ -1,17 +1,17 @@ #include "config.h" #include "ntp_stdlib.h" -#include "ntp_calendar.h" #include "ntp_fp.h" #include "unity.h" +void test_ConstantDateTime(void); void test_ConstantDateTime(void) { const u_int32 HALF = 2147483648UL; - l_fp time = {3485080800UL, HALF}; // 2010-06-09 14:00:00.5 + l_fp time = {{3485080800UL}, HALF}; /* 2010-06-09 14:00:00.5 */ TEST_ASSERT_EQUAL_STRING("3485080800.500000 10:159:14:00:00.500", uglydate(&time)); -- cgit v1.2.3