summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-10 07:52:12 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-10 07:52:12 +0000
commitdad8b2b68113840c826e43e3857c487498271c85 (patch)
tree6d4ee128c976f402e842b7799d2151ebd19bceb1 /serial.c
parentdbda81f426dc8cc2d2271b5efbe022d50a5f7732 (diff)
downloadgpsd-dad8b2b68113840c826e43e3857c487498271c85.tar.gz
Bride of the Splint Cleanup. All regression tests pass.
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 5c3004db..adcdb521 100644
--- a/serial.c
+++ b/serial.c
@@ -49,7 +49,7 @@ void cfmakeraw(struct termios *termios_p)
}
#endif /* defined(__CYGWIN__) */
-speed_t gpsd_get_speed(struct termios* ttyctl)
+speed_t gpsd_get_speed(const struct termios* ttyctl)
{
speed_t code = cfgetospeed(ttyctl);
switch (code) {