From feb2967838febb40550eb175a835a14d3b0d04d4 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 2 Sep 2015 18:07:31 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- include/string.h | 5 +---- include/wchar.h | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'include') diff --git a/include/string.h b/include/string.h index 4895cad..30131de 100644 --- a/include/string.h +++ b/include/string.h @@ -199,7 +199,7 @@ void* mempcpy(void* restrict, const void* restrict, size_t); */ void* memmove(void*, const void*, size_t); -#if defined(_SLIBC_SOURCE) && defined(_GNU_SOURCE) +#if defined(_SLIBC_SOURCE) && defined(_GNU_SOURCE) && !defined(__PORTABLE) /** * Copy a memory segment to another, possibly overlapping, segment. * @@ -855,9 +855,6 @@ char* strrchr(const char*, int) __GCC_ONLY(__attribute__((warn_unused_result, nonnull, pure))); -/* TODO Add case insensitive character searching functions. */ - - /** * Finds the first occurrence of a substring. * This search is case sensitive. diff --git a/include/wchar.h b/include/wchar.h index 32decb3..85f0e09 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -809,9 +809,6 @@ wchar_t* wcsrchr(const wchar_t*, wchar_t) __GCC_ONLY(__attribute__((warn_unused_result, nonnull, pure))); -/* TODO Add case insensitive character searching functions. */ - - /** * This function is identical to `wcsstr`. */ -- cgit v1.2.3-70-g09d2