diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-09 21:55:39 +0100 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-09 21:55:39 +0100 |
commit | e60342da428076ae6d3097950a3c5454bab84160 (patch) | |
tree | 307a1526aa7f4394223755d924d1375242da0280 | |
parent | 01b480ad1454ee3664ffcb8b3ecf0d89ccb7d56b (diff) |
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>
-rw-r--r-- | include/string.h | 1 | ||||
-rw-r--r-- | libc/string/generic/memmem.c | 1 | ||||
-rw-r--r-- | libc/string/memmem.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/include/string.h b/include/string.h index 6632e5f4a..cfd423b9f 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 0fccac77f..97384978b 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 f568a4261..1b3a0bab6 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 |