summaryrefslogtreecommitdiffstats
path: root/libc/termios/cfsetspeed.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/termios/cfsetspeed.c')
-rw-r--r--libc/termios/cfsetspeed.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/termios/cfsetspeed.c b/libc/termios/cfsetspeed.c
index 0d35d1474..b9e95805b 100644
--- a/libc/termios/cfsetspeed.c
+++ b/libc/termios/cfsetspeed.c
@@ -20,6 +20,8 @@
#include <errno.h>
#include <stddef.h>
+#ifdef __USE_BSD
+
libc_hidden_proto(cfsetispeed)
libc_hidden_proto(cfsetospeed)
@@ -171,3 +173,4 @@ int cfsetspeed (struct termios *termios_p, speed_t speed)
return -1;
}
+#endif