diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-09-02 18:07:31 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-09-02 18:07:31 +0200 |
commit | feb2967838febb40550eb175a835a14d3b0d04d4 (patch) | |
tree | 66f9550027f90118ae8661aa17d0fee63a815d06 /include | |
parent | add intptr_t, useconds_t, NULL and STD*_FILENO to unistd.h (diff) | |
download | slibc-feb2967838febb40550eb175a835a14d3b0d04d4.tar.gz slibc-feb2967838febb40550eb175a835a14d3b0d04d4.tar.bz2 slibc-feb2967838febb40550eb175a835a14d3b0d04d4.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-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`. */ |