]> granicus.if.org Git - check/commitdiff
Move NANOS_PER_SECONDS to check_impl.h with other time defines
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Tue, 17 Dec 2013 22:12:15 +0000 (22:12 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Tue, 17 Dec 2013 22:12:15 +0000 (22:12 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@891 64e312b2-a51f-0410-8e61-82d0ca0eb02a

src/check.c
src/check_impl.h

index 878a1182aea8f3a99e9273252773ee89acacb9c4..cf82b90b1573956eef2f7c39be7a50cee093b535 100644 (file)
@@ -36,8 +36,6 @@
 #define DEFAULT_TIMEOUT 4
 #endif
 
-#define NANOS_PER_SECONDS 1000000000
-
 int check_major_version = CHECK_MAJOR_VERSION;
 int check_minor_version = CHECK_MINOR_VERSION;
 int check_micro_version = CHECK_MICRO_VERSION;
index 1f59ee1988b533f749c3645f24ec3838ad341522..91f9d8962fcc4271cedfe10a215f40d9be249330 100644 (file)
@@ -27,6 +27,7 @@
 */
 
 #define US_PER_SEC 1000000
+#define NANOS_PER_SECONDS 1000000000
 
 /** calculate the difference in useconds out of two "struct timespec"s */
 #define DIFF_IN_USEC(begin, end) \