mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Hide internal __tcgetattr function [BZ #18822]
Hide internal __tcgetattr function to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * include/termios.h (__tcgetattr): Add libc_hidden_proto. * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add libc_hidden_def. * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise. * termios/tcgetattr.c (__tcgetattr): Likewise.
This commit is contained in:
@ -76,4 +76,5 @@ __tcgetattr (int fd, struct termios *termios_p)
|
||||
return retval;
|
||||
}
|
||||
|
||||
libc_hidden_def (__tcgetattr)
|
||||
weak_alias (__tcgetattr, tcgetattr)
|
||||
|
Reference in New Issue
Block a user