summaryrefslogtreecommitdiff
path: root/gpsctl.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-26 14:15:52 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-26 14:16:37 -0400
commitf69edaae7bbb22601e8b213a342ebd3ba4df780a (patch)
treef18329843847262d2467c52a764c665c1e6cba2b /gpsctl.c
parentfcf435a2c28f855f91bc08a6dcab72d0b12bfb67 (diff)
downloadgpsd-f69edaae7bbb22601e8b213a342ebd3ba4df780a.tar.gz
Eliminate reverse linkage of gpsd_write. All regression tests pass.
Diffstat (limited to 'gpsctl.c')
-rw-r--r--gpsctl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gpsctl.c b/gpsctl.c
index 910d5004..4cd7fb33 100644
--- a/gpsctl.c
+++ b/gpsctl.c
@@ -30,14 +30,6 @@ static unsigned int timeout = 0; /* no timeout */
static struct gps_context_t context;
static bool hunting = true;
-ssize_t gpsd_write(struct gps_device_t *session,
- const char *buf,
- const size_t len)
-/* pass low-level data to devices straight through */
-{
- return gpsd_serial_write(session, buf, len);
-}
-
/*
* Set this as high or higher than the maximum number of subtype
* probes in drivers.c.