]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
caljulian.c:
authorDamir Tomic <viperus@ntp.org>
Thu, 18 Jun 2015 08:21:18 +0000 (10:21 +0200)
committerDamir Tomic <viperus@ntp.org>
Thu, 18 Jun 2015 08:21:18 +0000 (10:21 +0200)
  included malloc.h to avoid implicit declaration

bk: 55827f7eMLm3ZTNP7-vz2RJrdA32Vw

tests/libntp/caljulian.c
tests/libntp/run-caljulian.c

index f73c93730192640029695d038df0b3132c330174..dac8c3e73c0e8ede96a5699cf5a7e0b29c4e8f5c 100644 (file)
@@ -6,6 +6,7 @@
 #include "test-libntp.h"
 
 #include <string.h>
+#include <malloc.h>
 
 //added struct to calendar!
 
index 1f65b85e1c9a003f8361341e30c513c0571ed57b..debb74d6a6c015822e66b1d5ed8165a7e34004f6 100644 (file)
@@ -48,10 +48,10 @@ int main(int argc, char *argv[])
   progname = argv[0];
   Unity.TestFile = "caljulian.c";
   UnityBegin("caljulian.c");
-  RUN_TEST(test_RegularTime, 71);
-  RUN_TEST(test_LeapYear, 82);
-  RUN_TEST(test_uLongBoundary, 93);
-  RUN_TEST(test_uLongWrapped, 104);
+  RUN_TEST(test_RegularTime, 72);
+  RUN_TEST(test_LeapYear, 83);
+  RUN_TEST(test_uLongBoundary, 94);
+  RUN_TEST(test_uLongWrapped, 105);
 
   return (UnityEnd());
 }