summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c
index c9f99d40..cce41ea2 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -1647,8 +1647,8 @@ void gpsd_zero_satellites( /*@out@*/ struct gps_data_t *out)
#endif
}
-#ifdef NTPSHM_ENABLE
-void ntpshm_latch(struct gps_device_t *device, struct timedelta_t /*@out@*/*td)
+#ifdef NTP_ENABLE
+void ntp_latch(struct gps_device_t *device, struct timedelta_t /*@out@*/*td)
/* latch the fact that we've saved a fix */
{
double fix_time, integral, fractional;
@@ -1688,6 +1688,6 @@ void ntpshm_latch(struct gps_device_t *device, struct timedelta_t /*@out@*/*td)
/*@+compdef@*/
#endif /* PPS_ENABLE */
}
-#endif /* NTPSHM_ENABLE */
+#endif /* NTP_ENABLE */
/* end */