Hide internal __tcgetattr function [BZ #18822]
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 2 Oct 2017 00:48:11 +0000 (17:48 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 2 Oct 2017 00:48:24 +0000 (17:48 -0700)
commit87078544f24cfbd355bf2f7e63a0d01ff7c96cca
tree40347f0d9510bea540d38f6cb4830caca1ba7289
parentdd3121df08d5ee44ba770d12365022aa802fb364
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.
ChangeLog
include/termios.h
sysdeps/unix/bsd/tcgetattr.c
sysdeps/unix/sysv/linux/tcgetattr.c
termios/tcgetattr.c