OSDN Git Service

* include/c_std/cstring (memchr, strchr, strpbrk, strrchr, strstr):
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Jan 2009 00:08:29 +0000 (00:08 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 30 Jan 2009 00:08:29 +0000 (00:08 +0000)
commite543bfc049a9cc357d61d75df430a1924c14faf3
tree4062f59ed38873a74525cac1bcb73d7b5bb59f8a
parent6db3e8352fefa7e59317de8a9078f0c001289e3f
* include/c_std/cstring (memchr, strchr, strpbrk, strrchr, strstr):
Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
defined.
* include/c_std/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
defined.
* include/c_global/cstring (memchr, strchr, strpbrk, strrchr, strstr):
Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
defined.
* include/c_global/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
defined.
* testsuite/21_strings/c_strings/char_t/2.cc (test02): If first
argument is const char *, assign result to const char * var, not
char *.
* testsuite/21_strings/c_strings/wchar_t/2.cc (test02): If first
argument is const wchar_t *, assign result to const wchar_t * var, not
wchar_t *.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143773 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/c_global/cstring
libstdc++-v3/include/c_global/cwchar
libstdc++-v3/include/c_std/cstring
libstdc++-v3/include/c_std/cwchar
libstdc++-v3/testsuite/21_strings/c_strings/char/2.cc
libstdc++-v3/testsuite/21_strings/c_strings/wchar_t/2.cc