summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-10-05 16:03:16 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-10-05 16:03:16 -0400
commitcb9d852d2217e2e9b8c7ecf25e034bd932bc1a23 (patch)
tree3c23a08536b55db2e9b5052bae5a12149ed79065 /gpsmon.c
parent8c89f869efe681236875ffbd642078527bde1be7 (diff)
downloadgpsd-cb9d852d2217e2e9b8c7ecf25e034bd932bc1a23.tar.gz
Fix a minor linkage failure.
The fact that this happened might indicate a build system failure.
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gpsmon.c b/gpsmon.c
index 6fb660a8..ebcf503a 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -217,6 +217,14 @@ void gpsd_report(const int debuglevel, const int errlevel, const char *fmt, ...)
}
}
+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);
+}
+
static ssize_t readpkt(void)
{
/*@ -globstate -type -shiftnegative -compdef -nullpass @*/