summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-26 04:25:36 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-26 04:25:36 -0500
commit1d6838febd124fad50f70cf39b5fb43d7da44828 (patch)
tree6c1f63dbfcf6d7fcc567a4559082837aa10e3f9e /gps.h
parent3436c41671f2965d831a04ccb2ff860e945ce4a5 (diff)
downloadgpsd-1d6838febd124fad50f70cf39b5fb43d7da44828.tar.gz
Worst reason to remove an ugly kluge ever.
This change removes some macros which assured both source and object compatibility with client API version 6.0 in spite of some internal renames. But it turns out the gps.h we shipped had a broken inclusion and would have blown up any compile if it was used from /usr/include, anyway. So nobody can have built with the changed names and we can remove this cruft.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gps.h b/gps.h
index 13e58635..0b480522 100644
--- a/gps.h
+++ b/gps.h
@@ -2026,14 +2026,6 @@ struct gps_data_t {
void *privdata;
};
-/*
- * Preserve source compatibility with 6.0 (version 3.12).
- * Can go away on next object file bump.
- */
-#define timedrift_t timedelta_t
-#define timedelta pps
-#define PPSDRIFT_SET PPS_SET
-
extern int gps_open(/*@null@*/const char *, /*@null@*/const char *,
/*@out@*/struct gps_data_t *);
extern int gps_close(struct gps_data_t *);