mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
local: replace is_step_change parameter of change handler with enum
Prepare for a new change type that will be added later.
This commit is contained in:
4
manual.c
4
manual.c
@@ -66,7 +66,7 @@ slew_samples(struct timeval *raw,
|
||||
struct timeval *cooked,
|
||||
double dfreq,
|
||||
double doffset,
|
||||
int is_step_change,
|
||||
LCL_ChangeType change_type,
|
||||
void *not_used);
|
||||
|
||||
/* ================================================== */
|
||||
@@ -216,7 +216,7 @@ slew_samples(struct timeval *raw,
|
||||
struct timeval *cooked,
|
||||
double dfreq,
|
||||
double doffset,
|
||||
int is_step_change,
|
||||
LCL_ChangeType change_type,
|
||||
void *not_used)
|
||||
{
|
||||
double delta_time;
|
||||
|
||||
Reference in New Issue
Block a user