[git commit prelink] memmem.c, string.h: remove unused hidden memmem

Peter S. Mazinger ps.m at gmx.net
Wed Mar 30 11:53:36 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=e60342da428076ae6d3097950a3c5454bab84160
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/prelink

It is used only by gen_collate, not included into libc.

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 include/string.h             |    1 -
 libc/string/generic/memmem.c |    1 -
 libc/string/memmem.c         |    1 -
 3 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/include/string.h b/include/string.h
index 6632e5f..cfd423b 100644
--- a/include/string.h
+++ b/include/string.h
@@ -256,7 +256,6 @@ libc_hidden_proto(strcasestr)
 extern void *memmem (__const void *__haystack, size_t __haystacklen,
 		     __const void *__needle, size_t __needlelen)
      __THROW __attribute_pure__ __nonnull ((1, 3));
-libc_hidden_proto(memmem)
 
 /* Copy N bytes of SRC to DEST, return pointer to bytes after the
    last written byte.  */
diff --git a/libc/string/generic/memmem.c b/libc/string/generic/memmem.c
index 0fccac7..9738497 100644
--- a/libc/string/generic/memmem.c
+++ b/libc/string/generic/memmem.c
@@ -48,5 +48,4 @@ void *memmem (const void *haystack, size_t haystack_len,
 
   return NULL;
 }
-libc_hidden_def(memmem)
 #endif
diff --git a/libc/string/memmem.c b/libc/string/memmem.c
index f568a42..1b3a0ba 100644
--- a/libc/string/memmem.c
+++ b/libc/string/memmem.c
@@ -37,5 +37,4 @@ void *memmem(const void *haystack, size_t haystacklen,
 
 	return NULL;
 }
-libc_hidden_def(memmem)
 #endif
-- 
1.7.3.4



More information about the uClibc-cvs mailing list