diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/getpt.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,6 +1,12 @@ 2017-10-01 H.J. Lu <hongjiu.lu@intel.com> [BZ #18822] + * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add + attribute_hidden. + +2017-10-01 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #18822] * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden. 2017-10-01 H.J. Lu <hongjiu.lu@intel.com> diff --git a/sysdeps/unix/sysv/linux/getpt.c b/sysdeps/unix/sysv/linux/getpt.c index a92b8f9..da3df47 100644 --- a/sysdeps/unix/sysv/linux/getpt.c +++ b/sysdeps/unix/sysv/linux/getpt.c @@ -31,7 +31,7 @@ #define _PATH_DEVPTS _PATH_DEV "pts" /* Prototype for function that opens BSD-style master pseudo-terminals. */ -int __bsd_getpt (void); +extern int __bsd_getpt (void) attribute_hidden; /* Open a master pseudo terminal and return its file descriptor. */ int |