aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-01 16:03:28 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-01 16:03:41 -0700
commit78cf1d74d28c9312d888dea1ad3de01d38c5fc4a (patch)
tree92e83c155360cc3795a821e312422247899fe1ac /include
parent85b358949d506ddc7c35301e7ae1316d2036a736 (diff)
downloadglibc-78cf1d74d28c9312d888dea1ad3de01d38c5fc4a.tar
glibc-78cf1d74d28c9312d888dea1ad3de01d38c5fc4a.tar.gz
glibc-78cf1d74d28c9312d888dea1ad3de01d38c5fc4a.tar.bz2
glibc-78cf1d74d28c9312d888dea1ad3de01d38c5fc4a.zip
Hide internal __strsep function [BZ #18822]
Hide internal __strsep function to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * include/string.h (__strsep): Add libc_hidden_proto. * string/strsep.c (__strsep): Add libc_hidden_def.
Diffstat (limited to 'include')
-rw-r--r--include/string.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h
index 069efd0b87..968d6fea05 100644
--- a/include/string.h
+++ b/include/string.h
@@ -12,6 +12,7 @@ extern size_t __strnlen (const char *__string, size_t __maxlen)
__attribute_pure__;
extern char *__strsep (char **__stringp, const char *__delim);
+libc_hidden_proto (__strsep)
extern int __strverscmp (const char *__s1, const char *__s2)
__attribute_pure__;