diff --git a/sys_solaris.c b/sys_solaris.c index 6c018ee..463f80c 100644 --- a/sys_solaris.c +++ b/sys_solaris.c @@ -83,6 +83,8 @@ static int index=0; /* If 1, need to run dosynctodr(). If 0, don't */ static int need_dosynctodr = -1; +/* Interval in seconds between adjustments to cancel systematic drift */ +#define DRIFT_REMOVAL_INTERVAL (4.0) #define GET_ZERO (zeroes[index^=1]) @@ -305,9 +307,6 @@ immediate_step(void) /* ================================================== */ -/* Interval in seconds between adjustments to cancel systematic drift */ -#define DRIFT_REMOVAL_INTERVAL (4.0) - static int drift_removal_running = 0; static SCH_TimeoutID drift_removal_id; diff --git a/sys_sunos.c b/sys_sunos.c index 1e7f3ab..f3eb608 100644 --- a/sys_sunos.c +++ b/sys_sunos.c @@ -76,6 +76,9 @@ static double adjustment_requested; */ static unsigned long our_tickadj = 100; +/* Interval in seconds between adjustments to cancel systematic drift */ +#define DRIFT_REMOVAL_INTERVAL (4.0) + /* ================================================== */ static void @@ -291,9 +294,6 @@ immediate_step(void) /* ================================================== */ -/* Interval in seconds between adjustments to cancel systematic drift */ -#define DRIFT_REMOVAL_INTERVAL (4.0) - static int drift_removal_running = 0; static SCH_TimeoutID drift_removal_id;