summaryrefslogtreecommitdiff
path: root/libgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-06-15 17:28:40 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-06-15 17:28:40 +0000
commit14bd6c57b9e479354eb0f60bae79dc274d54f0cb (patch)
tree7397271bf5bef76b4545e574cb523eca982cf40d /libgps.c
parentd7aa3db02d43fc7c123a2d3300116611ca835aa3 (diff)
downloadgpsd-14bd6c57b9e479354eb0f60bae79dc274d54f0cb.tar.gz
New packet-return API using newdata and explicit merging.
Diffstat (limited to 'libgps.c')
-rw-r--r--libgps.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/libgps.c b/libgps.c
index 9e697224..455d3a7c 100644
--- a/libgps.c
+++ b/libgps.c
@@ -74,23 +74,6 @@ int gpsd_units(void)
}
#endif /* __UNUSED__ */
-void gps_clear_fix(struct gps_fix_t *fixp)
-/* stuff a fix structure with recognizable out-of-band values */
-{
- fixp->time = NAN;
- fixp->mode = MODE_NOT_SEEN;
- fixp->track = NAN;
- fixp->speed = NAN;
- fixp->climb = NAN;
- fixp->altitude = NAN;
- fixp->ept = NAN;
- fixp->eph = NAN;
- fixp->epv = NAN;
- fixp->epd = NAN;
- fixp->eps = NAN;
- fixp->epc = NAN;
-}
-
struct gps_data_t *gps_open(const char *host, const char *port)
/* open a connection to a gpsd daemon */
{