From 66b5edb84a0af1069d198c9e2528f768c55d2a64 Mon Sep 17 00:00:00 2001 From: brarcher Date: Tue, 17 Dec 2013 22:12:15 +0000 Subject: [PATCH] Move NANOS_PER_SECONDS to check_impl.h with other time defines git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@891 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- src/check.c | 2 -- src/check_impl.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/check.c b/src/check.c index 878a118..cf82b90 100644 --- a/src/check.c +++ b/src/check.c @@ -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; diff --git a/src/check_impl.h b/src/check_impl.h index 1f59ee1..91f9d89 100644 --- a/src/check_impl.h +++ b/src/check_impl.h @@ -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) \ -- 2.40.0