aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-01 17:37:27 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-01 17:37:42 -0700
commitd19033298f832f5b3e10da6f07e7959f0483df74 (patch)
treeccc048009846edff2cf5a06146fff03e0bb1f760 /include
parentb4744101f36021bf2dde713682abbd0cc6935168 (diff)
downloadglibc-d19033298f832f5b3e10da6f07e7959f0483df74.zip
glibc-d19033298f832f5b3e10da6f07e7959f0483df74.tar.gz
glibc-d19033298f832f5b3e10da6f07e7959f0483df74.tar.bz2
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 'include')
-rw-r--r--include/mntent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mntent.h b/include/mntent.h
index 169210f..a16298e 100644
--- a/include/mntent.h
+++ b/include/mntent.h
@@ -15,6 +15,7 @@ extern char *__hasmntopt (const struct mntent *__mnt, const char *__opt);
libc_hidden_proto (__setmntent)
libc_hidden_proto (__getmntent_r)
libc_hidden_proto (__endmntent)
+libc_hidden_proto (__hasmntopt)
# endif /* !_ISOMAC */
#endif