2014-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>

Thomas Uhle <thomas.uhle@eas.iis.fraunhofer.de>

        * libc/include/string.h: Correct guard for strnlen().
This commit is contained in:
Jeff Johnston 2014-09-16 19:59:01 +00:00
parent 3158e7d674
commit ad9ed96b6b
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>
Thomas Uhle <thomas.uhle@eas.iis.fraunhofer.de>
* libc/include/string.h: Correct guard for strnlen().
2014-09-15 Jeff Johnston <jjohnstn@redhat.com>
* libc/time/month_lengths.c: Fix to define __month_lengths.

View File

@ -116,7 +116,8 @@ size_t _EXFUN(strlcpy,(char *, const char *, size_t));
#if __BSD_VISIBLE || __POSIX_VISIBLE
int _EXFUN(strncasecmp,(const char *, const char *, size_t));
#endif
#if !defined(__STRICT_ANSI__) || __XSI_VISIBLE >= 500
#if !defined(__STRICT_ANSI__) || __POSIX_VISIBLE >= 200809 || \
__XSI_VISIBLE >= 700
size_t _EXFUN(strnlen,(const char *, size_t));
#endif
#if __BSD_VISIBLE