diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2014-09-25 16:55:10 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2014-09-25 16:55:10 -0400 |
commit | c1ba7516b8dcb00c658d2630c2a8be9f4355e618 (patch) | |
tree | 0082f707196e289d337aa192d44e406262613be3 /timebase.c | |
parent | 282691da60ec526772f713a63fa0b8f43aea7acb (diff) | |
download | gpsd-c1ba7516b8dcb00c658d2630c2a8be9f4355e618.tar.gz |
Remove some custom code, at the cost of introducing a glibc depenency.
Dependency soon to be fixed. All regression tests pass.
Diffstat (limited to 'timebase.c')
-rw-r--r-- | timebase.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -272,7 +272,7 @@ timestamp_t gpsd_utc_resolve(/*@in@*/struct gps_device_t *session) */ timestamp_t t; - t = (timestamp_t)mkgmtime(&session->nmea.date) + + t = (timestamp_t)timegm(&session->nmea.date) + session->nmea.subseconds; session->context->valid &=~ GPS_TIME_VALID; |