diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-08-23 17:40:03 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-08-23 17:40:03 +0200 |
commit | 80e0ad1e77a9365b85ffda62aa1471e5c8768743 (patch) | |
tree | 2a20427bc9e3b96cd697f5a4220990a075e07981 /newlib/libc/include/strings.h | |
parent | 9e0f9ec7aedb59cacaf5831a27b925d791090113 (diff) | |
download | newlib-80e0ad1e77a9365b85ffda62aa1471e5c8768743.zip newlib-80e0ad1e77a9365b85ffda62aa1471e5c8768743.tar.gz newlib-80e0ad1e77a9365b85ffda62aa1471e5c8768743.tar.bz2 |
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>
Diffstat (limited to 'newlib/libc/include/strings.h')
-rw-r--r-- | newlib/libc/include/strings.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/newlib/libc/include/strings.h b/newlib/libc/include/strings.h index e467467..b462d07 100644 --- a/newlib/libc/include/strings.h +++ b/newlib/libc/include/strings.h @@ -33,6 +33,11 @@ int _EXFUN(ffs,(int)); int _EXFUN(strcasecmp,(const char *, const char *)); 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 #endif /* !(_STRING_H_ && __BSD_VISIBLE) */ |