diff options
-rw-r--r-- | include/string.h | 5 | ||||
-rw-r--r-- | include/wchar.h | 3 |
2 files changed, 1 insertions, 7 deletions
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`. */ |