diff options
author | Gary E. Miller <gem@rellim.com> | 2018-10-26 14:26:00 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-10-26 14:26:00 -0700 |
commit | 65f9daadd1d82e7ba77510e5f3a193bbe6d32606 (patch) | |
tree | 87f525b69ba9c58584ebb1eaa158eceda001acbd /gpsd.h | |
parent | b33816fe2b9219d2a9cca80091b6264bf579275f (diff) | |
download | gpsd-65f9daadd1d82e7ba77510e5f3a193bbe6d32606.tar.gz |
timebase: Add gpsd_gpstime_resolv(), deprecate gpsd_gpstime_resolve()
Part of the move from timestamp_t to timespec_t. The double that
is timestamp_t will soon be too imprecise.
Diffstat (limited to 'gpsd.h')
-rw-r--r-- | gpsd.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -880,6 +880,8 @@ extern void gpsd_time_init(struct gps_context_t *, time_t); extern void gpsd_set_century(struct gps_device_t *); extern timestamp_t gpsd_gpstime_resolve(struct gps_device_t *, const unsigned short, const double); +extern timespec_t gpsd_gpstime_resolv(struct gps_device_t *, + const unsigned short, const timespec_t); extern timestamp_t gpsd_utc_resolve(struct gps_device_t *); extern void gpsd_century_update(struct gps_device_t *, int); |