diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-02-25 11:06:29 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-02-25 11:06:29 +0000 |
commit | 147041d26029fabdb35b596a1d3bcbb40c3de975 (patch) | |
tree | dcd8320bbf30440ee47fe47130cbd1500ced80bd /libc/termios | |
parent | bdf8a6c4b863184545a15f63b9e28bd81e942859 (diff) |
Reinstate __libc_foo's needed for linuxthreads.old.
Now they are only enabled if linuxthreads.old are selected.
Diffstat (limited to 'libc/termios')
-rw-r--r-- | libc/termios/tcdrain.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libc/termios/tcdrain.c b/libc/termios/tcdrain.c index 766f37e28..ad94803ff 100644 --- a/libc/termios/tcdrain.c +++ b/libc/termios/tcdrain.c @@ -20,10 +20,13 @@ #include <termios.h> #include <sys/ioctl.h> -/* libc_hidden_proto(ioctl) */ +#ifdef __LINUXTHREADS_OLD__ +extern __typeof(tcdrain) weak_function tcdrain; +strong_alias(tcdrain,__libc_tcdrain) +#endif /* Wait for pending output to be written on FD. */ int tcdrain(int fd) { - return ioctl(fd, TCSBRK, 1); + return ioctl(fd, TCSBRK, 1); } |