diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2014-09-28 17:33:59 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2014-09-28 17:33:59 -0400 |
commit | fa02bd8b41017812302961f5c485d829d803437b (patch) | |
tree | abf3fa6ea55b9ed264def91d7b7b8294bd499af8 /libgps.h | |
parent | fcbba18745a3f2ead96c032f778237d82895810f (diff) | |
download | gpsd-fa02bd8b41017812302961f5c485d829d803437b.tar.gz |
GNU libc timegm() turns out to be buggy when DST is on (glibc-2.19).
Fortunately, there's a much simpler way to do the computation correctly.
All regression tests pass,
Diffstat (limited to 'libgps.h')
-rw-r--r-- | libgps.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -6,8 +6,6 @@ #ifndef _GPSD_LIBGPS_H_ #define _GPSD_LIBGPS_H_ -#include "gpsd_config.h" - /* values to poke in the gps_fd member if we get it via something special */ #define SHM_PSEUDO_FD -1 #define DBUS_PSEUDO_FD -2 @@ -38,9 +36,4 @@ extern int json_ais_read(const char *, char *, size_t, struct ais_t *, #define PRIVATE(gpsdata) ((struct privdata_t *)(gpsdata)->privdata) -#ifndef HAVE_GMTIME -/* in case target doesn't have gmtime */ -extern time_t gmtime(register struct tm *); -#endif /* ndef HAVE_GMTIME */ - #endif /* _GPSD_LIBGPS_H_ */ |