Add missing declarations of str{n}casecmp_l to strings.h.

Per glibc, both funcs are defined as GNU visible in strings.h.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2016-08-23 17:40:03 +02:00
parent 9e0f9ec7ae
commit 80e0ad1e77
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,11 @@ int _EXFUN(ffs,(int));
int _EXFUN(strcasecmp,(const char *, const char *)); int _EXFUN(strcasecmp,(const char *, const char *));
int _EXFUN(strncasecmp,(const char *, const char *, size_t)); int _EXFUN(strncasecmp,(const char *, const char *, size_t));
#if __GNU_VISIBLE
extern int strcasecmp_l (const char *, const char *, locale_t);
extern int strncasecmp_l (const char *, const char *, size_t, locale_t);
#endif /* _GNU_VISIBLE */
_END_STD_C _END_STD_C
#endif /* !(_STRING_H_ && __BSD_VISIBLE) */ #endif /* !(_STRING_H_ && __BSD_VISIBLE) */