summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/termios.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/termios.cc')
-rw-r--r--winsup/cygwin/termios.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/termios.cc b/winsup/cygwin/termios.cc
index 0aa062300..13ef7c0ac 100644
--- a/winsup/cygwin/termios.cc
+++ b/winsup/cygwin/termios.cc
@@ -232,14 +232,14 @@ tcsetpgrp (int fd, pid_t pgid)
/* cfgetospeed: POSIX96 7.1.3.1 */
extern "C" speed_t
-cfgetospeed (struct termios *tp)
+cfgetospeed (const struct termios *tp)
{
return __tonew_termios (tp)->c_ospeed;
}
/* cfgetispeed: POSIX96 7.1.3.1 */
extern "C" speed_t
-cfgetispeed (struct termios *tp)
+cfgetispeed (const struct termios *tp)
{
return __tonew_termios (tp)->c_ispeed;
}