summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2007-06-01 19:23:17 +0000
committerEric S. Raymond <esr@thyrsus.com>2007-06-01 19:23:17 +0000
commit434aa4709368135fa7ef330c6f968c3ab59408c5 (patch)
treef9897b18ea769882a788d08d376a3a3e0a28153b /gpsd.h-tail
parent935c33d4c9469fa406925635b2084f0b44673a1d (diff)
downloadgpsd-434aa4709368135fa7ef330c6f968c3ab59408c5.tar.gz
Change return ttype of gpsd_write to be what the Garmin driver was expecting;
it actually makes more sense this way. (Fixes what may have been a subtle bug.)
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index 22a8f531..83317c42 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -363,7 +363,7 @@ extern void ntrip_report(struct gps_device_t *);
extern void gpsd_tty_init(struct gps_device_t *);
extern int gpsd_open(struct gps_device_t *);
extern bool gpsd_set_raw(struct gps_device_t *);
-extern bool gpsd_write(struct gps_device_t *, void const *, size_t);
+extern ssize_t gpsd_write(struct gps_device_t *, void const *, size_t);
extern bool gpsd_next_hunt_setting(struct gps_device_t *);
extern int gpsd_switch_driver(struct gps_device_t *, char *);
extern void gpsd_set_speed(struct gps_device_t *, speed_t, unsigned char, unsigned int);