diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 17:37:27 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 17:37:42 -0700 |
commit | d19033298f832f5b3e10da6f07e7959f0483df74 (patch) | |
tree | ccc048009846edff2cf5a06146fff03e0bb1f760 /misc/mntent_r.c | |
parent | Hide internal __ifreq function [BZ #18822] (diff) | |
download | glibc-d19033298f832f5b3e10da6f07e7959f0483df74.tar.gz glibc-d19033298f832f5b3e10da6f07e7959f0483df74.tar.bz2 glibc-d19033298f832f5b3e10da6f07e7959f0483df74.zip |
Hide internal __hasmntopt function [BZ #18822]
Hide internal __hasmntopt function to allow direct access within libc.so
and libc.a without using GOT nor PLT.
[BZ #18822]
* include/mntent.h (__hasmntopt): Add libc_hidden_proto.
* misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
Diffstat (limited to 'misc/mntent_r.c')
-rw-r--r-- | misc/mntent_r.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/mntent_r.c b/misc/mntent_r.c index 30f55212be..96bd1e2fb4 100644 --- a/misc/mntent_r.c +++ b/misc/mntent_r.c @@ -293,4 +293,5 @@ __hasmntopt (const struct mntent *mnt, const char *opt) return NULL; } +libc_hidden_def (__hasmntopt) weak_alias (__hasmntopt, hasmntopt) |