summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-06-12 15:39:18 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-06-12 15:39:18 +0000
commitdab633a35ee8f6662d2ec0c8ab3dfc437b1fe2f7 (patch)
tree9cea8801c49afc621b9e50967c77b29936a18673 /serial.c
parent7f9e0e4ee1c88e0bf001da7072128df7a882acb4 (diff)
downloadgpsd-dab633a35ee8f6662d2ec0c8ab3dfc437b1fe2f7.tar.gz
Remove inadvertent clearing of timestamp.
splint cleanup. Improve a configure help string.
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 9a7efe7c..0e4fa97a 100644
--- a/serial.c
+++ b/serial.c
@@ -148,7 +148,7 @@ void gpsd_set_speed(struct gps_device_t *session,
* occasional failure to lock.
*/
(void)tcflush(session->gpsdata.gps_fd, TCIOFLUSH);
- usleep(200000);
+ (void)usleep(200000);
(void)tcflush(session->gpsdata.gps_fd, TCIOFLUSH);
}
gpsd_report(1, "speed %d, %d%c%d\n", speed, 9-stopbits, parity, stopbits);