diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-28 06:32:37 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-28 06:32:37 -0400 |
commit | 6b2e8ab641522c61fa520ca47b3008dc65a8aabb (patch) | |
tree | c3c5c40a50cc39c0744cde2a8c84a0cf0190ad58 /serial.c | |
parent | 5e24bd130a5456d2f5b3b1c6bb2d7222b9613180 (diff) | |
download | gpsd-6b2e8ab641522c61fa520ca47b3008dc65a8aabb.tar.gz |
splint cleanup. Fixes for minor but real issues...
...no attempt to address the weird cross-platfprm variability we've seen lately.
All regression tests pass.
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -242,7 +242,9 @@ int gpsd_get_stopbits(const struct gps_device_t *dev) bool gpsd_set_raw(struct gps_device_t * session) { +#ifndef S_SPLINT_S (void)cfmakeraw(&session->ttyset); +#endif /* S_SPLINT_S */ if (tcsetattr(session->gpsdata.gps_fd, TCIOFLUSH, &session->ttyset) == -1) { gpsd_log(&session->context->errout, LOG_ERROR, "error changing port attributes: %s\n", strerror(errno)); |