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 /gps.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 'gps.h')
-rw-r--r-- | gps.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -82,6 +82,7 @@ extern "C" { * ref: https://en.wikipedia.org/wiki/Decimal_degrees */ typedef double timestamp_t; /* Unix time in seconds with fractional part */ +typedef struct timespec timespec_t; /* Unix time as sec, nsec */ struct gps_fix_t { timestamp_t time; /* Time of update */ |