mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Hide internal __bsd_getpt function [BZ #18822]
Hide internal __bsd_getpt function to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add attribute_hidden.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user