aboutsummaryrefslogtreecommitdiff
path: root/tests/libntp/uglydate.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libntp/uglydate.c')
-rw-r--r--tests/libntp/uglydate.c4
1 files changed, 2 insertions, 2 deletions
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));