From e7ebfb119ef3c3c54e98116734cb9fe28d7e50cd Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Thu, 30 Oct 2014 11:25:17 +0000 Subject: [PATCH] 2014-10-29 Jon Turney * libc/include/string.h: Correct guard for strcasecmp(). --- newlib/ChangeLog | 4 ++++ newlib/libc/include/string.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 04a81347d..0382bbcd7 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2014-10-29 Jon Turney + + * libc/include/string.h: Correct guard for strcasecmp(). + 2014-10-29 Terry Guo * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove unnecessary comparison. diff --git a/newlib/libc/include/string.h b/newlib/libc/include/string.h index 8fb3563cc..af5c9da4d 100644 --- a/newlib/libc/include/string.h +++ b/newlib/libc/include/string.h @@ -69,7 +69,7 @@ char *_EXFUN(rindex,(const char *, int)); #endif char *_EXFUN(stpcpy,(char *__restrict, const char *__restrict)); char *_EXFUN(stpncpy,(char *__restrict, const char *__restrict, size_t)); -#if __BSD_VISIBLE +#if __BSD_VISIBLE || __POSIX_VISIBLE int _EXFUN(strcasecmp,(const char *, const char *)); #endif #if __GNU_VISIBLE