about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-02-06 13:15:22 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-02-08 17:13:56 -0300
commit7ea510127e2067efa07865158ac92c330c379950 (patch)
treedf830b3da00683a56693e2cca08268b8764c14eb /include
parent9fd63e35371b9939e9153907c6a753e6960b68ad (diff)
downloadglibc-7ea510127e2067efa07865158ac92c330c379950.tar.gz
glibc-7ea510127e2067efa07865158ac92c330c379950.tar.xz
glibc-7ea510127e2067efa07865158ac92c330c379950.zip
string: Add libc_hidden_proto for strchrnul
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 <carlos.seo@linaro.org>
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 21f641a413..6e364e8a67 100644
--- a/include/string.h
+++ b/include/string.h
@@ -95,6 +95,7 @@ libc_hidden_proto (__rawmemchr)
 libc_hidden_proto (__strcasecmp)
 libc_hidden_proto (__strcasecmp_l)
 libc_hidden_proto (__strncasecmp_l)
+libc_hidden_proto (__strchrnul)
 extern __typeof (strncat) __strncat;
 libc_hidden_proto (__strncat)
 libc_hidden_proto (__strdup)