docs: memchr is no longer obsolete
authorEric Blake <ebb9@byu.net>
Mon, 15 Jun 2009 13:49:35 +0000 (07:49 -0600)
committerEric Blake <ebb9@byu.net>
Tue, 16 Jun 2009 02:56:24 +0000 (20:56 -0600)
* MODULES.html.sh: Move memchr from obsolete to string.h section.
* lib/string.in.h (memchr): Simplify logic.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
MODULES.html.sh
lib/string.in.h

index f88670c..5bcd64d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-15  Eric Blake  <ebb9@byu.net>
+
+       docs: memchr is no longer obsolete
+       * MODULES.html.sh: Move memchr from obsolete to string.h section.
+       * lib/string.in.h (memchr): Simplify logic.
+
 2009-06-14  Jim Meyering  <meyering@redhat.com>
 
        link-follow: fix the "checking..." message to not mention trailing slash
index 06afa2d..5899151 100755 (executable)
@@ -1606,7 +1606,6 @@ func_all_modules ()
   func_module exit
   func_module strtol
   func_module strtoul
-  func_module memchr
   func_module memcmp
   func_module memcpy
   func_module memmove
@@ -1770,6 +1769,7 @@ func_all_modules ()
 
   func_begin_table
   func_module bcopy
+  func_module memchr
   func_module memchr2
   func_module memmem
   func_module memmem-simple
index c913cce..9f98b0d 100644 (file)
@@ -53,8 +53,6 @@ extern "C" {
 #if @GNULIB_MEMCHR@
 # if @REPLACE_MEMCHR@
 #  define memchr rpl_memchr
-# endif
-# if @REPLACE_MEMCHR@
 extern void *memchr (void const *__s, int __c, size_t __n)
   __attribute__ ((__pure__));
 # endif