Mercurial > gnulib
changeset 11624:82b5a4d577af
docs: memchr is no longer obsolete
* 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>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Mon, 15 Jun 2009 07:49:35 -0600 |
parents | 4bdaf075d3d9 |
children | dfac57b1ec9f |
files | ChangeLog MODULES.html.sh lib/string.in.h |
diffstat | 3 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Jun 14 17:58:39 2009 +0200 +++ b/ChangeLog Mon Jun 15 07:49:35 2009 -0600 @@ -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
--- a/MODULES.html.sh Sun Jun 14 17:58:39 2009 +0200 +++ b/MODULES.html.sh Mon Jun 15 07:49:35 2009 -0600 @@ -1606,7 +1606,6 @@ 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_begin_table func_module bcopy + func_module memchr func_module memchr2 func_module memmem func_module memmem-simple
--- a/lib/string.in.h Sun Jun 14 17:58:39 2009 +0200 +++ b/lib/string.in.h Mon Jun 15 07:49:35 2009 -0600 @@ -53,8 +53,6 @@ #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