summaryrefslogtreecommitdiff
path: root/libc/include/termios.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/include/termios.h')
-rw-r--r--libc/include/termios.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/include/termios.h b/libc/include/termios.h
index 4ca1ec8..604e654 100644
--- a/libc/include/termios.h
+++ b/libc/include/termios.h
@@ -5,8 +5,8 @@
#include <sys/types.h>
#include <linuxmt/termios.h>
-extern int cfgetispeed __P ((struct termios *__termios_p));
-extern int cfgetospeed __P ((struct termios *__termios_p));
+extern speed_t cfgetispeed __P ((struct termios *__termios_p));
+extern speed_t cfgetospeed __P ((struct termios *__termios_p));
extern int cfsetispeed __P ((struct termios *__termios_p, speed_t __speed));
extern int cfsetospeed __P ((struct termios *__termios_p, speed_t __speed));