From 3ab0557e5a3a81b5202334142326dd2e5edc5d28 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 13 Feb 2002 09:47:04 +0000 Subject: A number of naming updates in preparation for adding in proper threading. Most of this is from Stefan Soucek, with additions and changes as needed from me. --- libc/termios/termios.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc/termios') diff --git a/libc/termios/termios.c b/libc/termios/termios.c index 24448c0e4..08bf0991b 100644 --- a/libc/termios/termios.c +++ b/libc/termios/termios.c @@ -42,11 +42,12 @@ int isatty(int fd) #ifdef L_tcdrain /* Wait for pending output to be written on FD. */ -int tcdrain (int fd) +int __libc_tcdrain (int fd) { /* With an argument of 1, TCSBRK waits for the output to drain. */ return ioctl(fd, TCSBRK, 1); } +weak_alias(__libc_tcdrain, tcdrain) #endif #ifdef L_tcflow -- cgit v1.2.3