diff options
Diffstat (limited to 'contrib/ntp/tests/libntp/uglydate.c')
-rw-r--r-- | contrib/ntp/tests/libntp/uglydate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/ntp/tests/libntp/uglydate.c b/contrib/ntp/tests/libntp/uglydate.c index a8d02d1..f47f3e4 100644 --- a/contrib/ntp/tests/libntp/uglydate.c +++ b/contrib/ntp/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)); |