diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-10-30 23:11:40 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-10-30 23:11:40 -0400 |
commit | 7094b0fbbbf49a2339108edd7dc0af52841834e7 (patch) | |
tree | 3c19d75601139b43e34fd7e9febead8557610908 /subframe.c | |
parent | 56e9094724cd76cba6a2036a399667bbddb7f109 (diff) | |
download | gpsd-7094b0fbbbf49a2339108edd7dc0af52841834e7.tar.gz |
Revert "Separate ntpd support from chrony support, step 1."
We'll have to sneak up on this change more slowly.
Diffstat (limited to 'subframe.c')
-rw-r--r-- | subframe.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -728,7 +728,7 @@ gps_mask_t gpsd_interpret_subframe(struct gps_device_t *session, subp->sub4_18.leap, subp->sub4_18.WNlsf, subp->sub4_18.DN, subp->sub4_18.lsf); -#ifdef TIMESERVICE_ENABLE +#ifdef NTPSHM_ENABLE /* IS-GPS-200 Revision E, paragraph 20.3.3.5.2.4 */ if (((session->context->gps_week % 256) == (unsigned short)subp->sub4_18.WNlsf) && /* notify the leap seconds correction in the end of current day */ @@ -742,7 +742,7 @@ gps_mask_t gpsd_interpret_subframe(struct gps_device_t *session, session->context->leap_notify = LEAP_NOWARNING; } else session->context->leap_notify = LEAP_NOWARNING; -#endif /* TIMESERVICE_ENABLE */ +#endif /* NTPSHM_ENABLE */ session->context->leap_seconds = (int)subp->sub4_18.leap; session->context->valid |= LEAP_SECOND_VALID; |