summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-08-17 15:57:18 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-08-17 15:57:18 +0000
commit06b551513c04a620cef0f51cfa63369c54b51bfa (patch)
tree97bd9824cc2ee0da39e9464d931489068936f8cb /serial.c
parenteb3c59bffd9478063638c00c29c036cbaac16066 (diff)
downloadgpsd-06b551513c04a620cef0f51cfa63369c54b51bfa.tar.gz
splint cleanup.
Diffstat (limited to 'serial.c')
-rw-r--r--serial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/serial.c b/serial.c
index 1b3e1732..894c2464 100644
--- a/serial.c
+++ b/serial.c
@@ -103,7 +103,7 @@ int gpsd_open(struct gps_device_t *session)
}
if (session->saved_baud != -1) {
- (void)cfsetspeed(&session->ttyset, (speed_t)session->saved_baud);
+ /*@i@*/(void)cfsetspeed(&session->ttyset, (speed_t)session->saved_baud);
(void)tcsetattr(session->gpsdata.gps_fd, TCSANOW, &session->ttyset);
(void)tcflush(session->gpsdata.gps_fd, TCIOFLUSH);
}