summaryrefslogtreecommitdiff
path: root/gpsmon.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-24 13:39:12 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-24 13:39:12 -0500
commit0957e01b6047cc31bffec64f1a6426158e6f4d8d (patch)
tree1324f57dbd2c436312af16d0e529fef158e0e6c0 /gpsmon.h
parente0beddef34daa0690acd468ac6480c5df3bd9d0f (diff)
downloadgpsd-0957e01b6047cc31bffec64f1a6426158e6f4d8d.tar.gz
In gpsmon, refactor so PPS field updates are done by common code.
Diffstat (limited to 'gpsmon.h')
-rw-r--r--gpsmon.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gpsmon.h b/gpsmon.h
index f05e6012..95820272 100644
--- a/gpsmon.h
+++ b/gpsmon.h
@@ -36,9 +36,11 @@ extern WINDOW *devicewin;
extern struct gps_device_t session;
extern bool serial; /* True - direct mode, False - daemon mode */
#ifdef NTP_ENABLE
-extern struct timedelta_t time_offset;
void toff_update(WINDOW *, int, int);
#endif /* NTP_ENABLE */
+#ifdef PPS_ENABLE
+void pps_update(WINDOW *, int, int);
+#endif /* PPS_ENABLE */
#endif /* _GPSD_GPSMON_H_ */
/* gpsmon.h ends here */