diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-30 12:32:12 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-30 12:39:26 -0400 |
commit | d9b8758935f902fb0ea77fee09e9627e09462a11 (patch) | |
tree | d6dbb060ce2162abe50b6dcada9b23c0a80ad63d /driver_superstar2.c | |
parent | 7a5a25946be3db4bd8c08d1a5b126f43131144eb (diff) | |
download | gpsd-d9b8758935f902fb0ea77fee09e9627e09462a11.tar.gz |
Separate ntpd support from chrony support, step 1.
ntp_offset becomes time_offset. There is a new config symbol CHRONY_ENABLE;
most time service code is npw controlled by TIMESERVICE_ENABLE. The
file ntpshm.c becomes timeexport.c
This change is not complete. More disentanglement has to be done inside
timeexport.c itself; at the moment enabling one but not both of
ntpshm or chrony will probably break its compile. The point of getting
this commit out is so Gary will see the new baseline code ASAP.
All regression tests pass.
Diffstat (limited to 'driver_superstar2.c')
-rw-r--r-- | driver_superstar2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/driver_superstar2.c b/driver_superstar2.c index 31a8658c..d98fa697 100644 --- a/driver_superstar2.c +++ b/driver_superstar2.c @@ -575,9 +575,9 @@ const struct gps_type_t superstar2_binary = { /* Control string sender - should provide checksum and trailer */ .control_send = superstar2_control_send, #endif /* CONTROLSEND_ENABLE */ -#ifdef NTPSHM_ENABLE - .ntp_offset = NULL, /* no method for NTP fudge factor */ -#endif /* NTPSHM_ ENABLE */ +#ifdef TIMESERVICE_ENABLE + .time_offset = NULL, /* no method for NTP fudge factor */ +#endif /* ENABLE ENABLE */ }; /* *INDENT-ON* */ #endif /* defined(SUPERSTAR2_ENABLE) && defined(BINARY_ENABLE) */ |