summaryrefslogtreecommitdiff
path: root/test_geoid.c
diff options
context:
space:
mode:
Diffstat (limited to 'test_geoid.c')
-rw-r--r--test_geoid.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test_geoid.c b/test_geoid.c
index 19e926ba..2392b1a8 100644
--- a/test_geoid.c
+++ b/test_geoid.c
@@ -10,6 +10,14 @@
#include "gpsd.h"
+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);
+}
+
void gpsd_report(const int debuglevel, const int errlevel,
const char *fmt, ...)
{