summaryrefslogtreecommitdiff
path: root/libc/termios/tcdrain.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/termios/tcdrain.c')
-rw-r--r--libc/termios/tcdrain.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/termios/tcdrain.c b/libc/termios/tcdrain.c
index 0158649bd..766f37e28 100644
--- a/libc/termios/tcdrain.c
+++ b/libc/termios/tcdrain.c
@@ -22,10 +22,8 @@
/* libc_hidden_proto(ioctl) */
-extern __typeof(tcdrain) __libc_tcdrain;
/* Wait for pending output to be written on FD. */
-int __libc_tcdrain (int fd)
+int tcdrain(int fd)
{
return ioctl(fd, TCSBRK, 1);
}
-weak_alias(__libc_tcdrain,tcdrain)