summaryrefslogtreecommitdiff
path: root/libgps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-09-28 17:33:59 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-09-28 17:33:59 -0400
commitfa02bd8b41017812302961f5c485d829d803437b (patch)
treeabf3fa6ea55b9ed264def91d7b7b8294bd499af8 /libgps.h
parentfcbba18745a3f2ead96c032f778237d82895810f (diff)
downloadgpsd-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.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/libgps.h b/libgps.h
index 00aeaa08..f7731885 100644
--- a/libgps.h
+++ b/libgps.h
@@ -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_ */