From 309ce1f19f774f592d790e89de900dd81300c90b Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Thu, 19 Sep 2002 17:30:05 +0000 Subject: Hide my personal #warning reminders. Add __wcschrnul, rename strchrnul to __strchrnul, and add weak aliases for them. --- include/string.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/string.h b/include/string.h index edcdf19fe..872cccab2 100644 --- a/include/string.h +++ b/include/string.h @@ -62,8 +62,7 @@ extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) extern void *memchr (__const void *__s, int __c, size_t __n) __THROW __attribute_pure__; -/*#ifdef __USE_GNU*/ -#if 0 +#ifdef __USE_GNU /* Search in S for C. This is similar to `memchr' but there is no length limit. */ extern void *rawmemchr (__const void *__s, int __c) __THROW __attribute_pure__; @@ -158,8 +157,7 @@ extern char *strchr (__const char *__s, int __c) __THROW __attribute_pure__; /* Find the last occurrence of C in S. */ extern char *strrchr (__const char *__s, int __c) __THROW __attribute_pure__; -#if 0 -/*#ifdef __USE_GNU*/ +#ifdef __USE_GNU /* This funciton is similar to `strchr'. But it returns a pointer to the closing NUL byte in case C is not found in S. */ extern char *strchrnul (__const char *__s, int __c) __THROW __attribute_pure__; -- cgit v1.2.3