From 78cf1d74d28c9312d888dea1ad3de01d38c5fc4a Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 1 Oct 2017 16:03:28 -0700 Subject: 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. --- string/strsep.c | 1 + 1 file changed, 1 insertion(+) (limited to 'string/strsep.c') diff --git a/string/strsep.c b/string/strsep.c index 7091234a6c..b6103657a8 100644 --- a/string/strsep.c +++ b/string/strsep.c @@ -46,4 +46,5 @@ __strsep (char **stringp, const char *delim) } weak_alias (__strsep, strsep) strong_alias (__strsep, __strsep_g) +libc_hidden_def (__strsep) libc_hidden_def (__strsep_g) -- cgit v1.2.1