aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-10-16 00:08:13 +0200
committerMattias Andrée <maandree@operamail.com>2015-10-16 00:08:13 +0200
commit8d794a7793406f43002bb6aa912a40f73eed5308 (patch)
treea7a3724d333b4b7080b65e915759ee1a5a62c4fe
parentindex and rindex return with const-quailifier if input has const (diff)
downloadslibc-8d794a7793406f43002bb6aa912a40f73eed5308.tar.gz
slibc-8d794a7793406f43002bb6aa912a40f73eed5308.tar.bz2
slibc-8d794a7793406f43002bb6aa912a40f73eed5308.tar.xz
add missing #endif
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--include/string.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/string.h b/include/string.h
index 9dae6af..92a91c2 100644
--- a/include/string.h
+++ b/include/string.h
@@ -809,8 +809,9 @@ void* memchr(const void*, int, size_t)
*/
void* rawmemchr(const void*, int)
__GCC_ONLY(__attribute__((warn_unused_result, returns_nonnull, nonnull, pure)));
-#ifdef __CONST_CORRECT
-# define rawmemchr(...) (__const_correct(rawmemchr, __VA_ARGS__))
+# ifdef __CONST_CORRECT
+# define rawmemchr(...) (__const_correct(rawmemchr, __VA_ARGS__))
+# endif
#endif
/**