diff --git a/include/libc-symbols.h b/include/libc-symbols.h index ea126ae70c..051d6b9492 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -856,6 +856,8 @@ for linking") # define HIDDEN_BUILTIN_JUMPTARGET(name) HIDDEN_JUMPTARGET(name) #endif +#define rtld_hidden_builtin_proto(name, attrs...) rtld_hidden_proto (name, ##attrs) + #if IS_IN (libutil) # define libutil_hidden_proto(name, attrs...) hidden_proto (name, ##attrs) # define libutil_hidden_tls_proto(name, attrs...) \ diff --git a/include/string.h b/include/string.h index 81dab39891..27cbde47ef 100644 --- a/include/string.h +++ b/include/string.h @@ -144,6 +144,7 @@ libc_hidden_builtin_proto (strcspn) libc_hidden_builtin_proto (strlen) libc_hidden_builtin_proto (strncmp) libc_hidden_builtin_proto (strncpy) +rtld_hidden_builtin_proto (strncpy) libc_hidden_builtin_proto (strpbrk) libc_hidden_builtin_proto (stpcpy) libc_hidden_builtin_proto (strrchr)