diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2014-08-26 14:15:52 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2014-08-26 14:16:37 -0400 |
commit | f69edaae7bbb22601e8b213a342ebd3ba4df780a (patch) | |
tree | f18329843847262d2467c52a764c665c1e6cba2b /gpsd.h-tail | |
parent | fcf435a2c28f855f91bc08a6dcab72d0b12bfb67 (diff) | |
download | gpsd-f69edaae7bbb22601e8b213a342ebd3ba4df780a.tar.gz |
Eliminate reverse linkage of gpsd_write. All regression tests pass.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r-- | gpsd.h-tail | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index 503bbbef..00c9a9b9 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -268,6 +268,8 @@ struct gps_context_t { * and we don't want them reordered either */ /*@reldef@*/volatile char *shmexport; #endif + ssize_t (*serial_write)(struct gps_device_t *, + const char *buf, const size_t len); }; /* state for resolving interleaved Type 24 packets */ |