Browse Source

memmem.c, string.h: remove unused hidden memmem

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

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Peter S. Mazinger 13 years ago
parent
commit
e60342da42
3 changed files with 0 additions and 3 deletions
  1. 0 1
      include/string.h
  2. 0 1
      libc/string/generic/memmem.c
  3. 0 1
      libc/string/memmem.c

+ 0 - 1
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.  */

+ 0 - 1
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

+ 0 - 1
libc/string/memmem.c

@@ -37,5 +37,4 @@ void *memmem(const void *haystack, size_t haystacklen,
 
 	return NULL;
 }
-libc_hidden_def(memmem)
 #endif