From 22999b2f0fb62eed1af4095d062bd1272d6afeb1 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Mon, 6 Feb 2023 15:05:56 -0300 Subject: string: Add libc_hidden_proto for memrchr Although static linker can optimize it to local call, it follows the internal scheme to provide hidden proto and definitions. Reviewed-by: Carlos Eduardo Seo --- string/memrchr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'string') diff --git a/string/memrchr.c b/string/memrchr.c index b37f2a68c8..3de5ec691c 100644 --- a/string/memrchr.c +++ b/string/memrchr.c @@ -75,5 +75,6 @@ __memrchr (const void *s, int c_in, size_t n) return NULL; } #ifndef MEMRCHR +libc_hidden_def (__memrchr) weak_alias (__memrchr, memrchr) #endif -- cgit 1.4.1