From 65f9daadd1d82e7ba77510e5f3a193bbe6d32606 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Fri, 26 Oct 2018 14:26:00 -0700 Subject: 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. --- gpsd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gpsd.h') diff --git a/gpsd.h b/gpsd.h index 265f1580..7cc56303 100644 --- a/gpsd.h +++ b/gpsd.h @@ -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); -- cgit v1.2.1