mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
termios: make __tcsetattr() the internal interface
There is a prototype for an internal __tcsetattr() function in include/termios.h, but tcsetattr without __ were still declared as the actual functions. Make this match the comment and make __tcsetattr() an internal interface. This will be required to version struct termios for Linux on MIPS and SPARC. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
committed by
Adhemerval Zanella
parent
1164979474
commit
edf7328db2
@ -77,5 +77,5 @@ __tcsetattr (int fd, int optional_actions, const struct termios *termios_p)
|
||||
|
||||
return INLINE_SYSCALL (ioctl, 3, fd, cmd, &k_termios);
|
||||
}
|
||||
libc_hidden_def (__tcsetattr)
|
||||
weak_alias (__tcsetattr, tcsetattr)
|
||||
libc_hidden_def (tcsetattr)
|
||||
|
Reference in New Issue
Block a user