From de77369cf4e80cb3c5ec250a25d2237df4abba11 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 27 Nov 2005 00:24:52 +0000 Subject: Hide some of mem* and str* --- libc/string/generic/memmove.c | 2 ++ libc/string/generic/strsep.c | 2 ++ libc/string/generic/strtok_r.c | 4 ++++ 3 files changed, 8 insertions(+) (limited to 'libc/string/generic') diff --git a/libc/string/generic/memmove.c b/libc/string/generic/memmove.c index ddf7c8aa4..a2c38a9b5 100644 --- a/libc/string/generic/memmove.c +++ b/libc/string/generic/memmove.c @@ -19,6 +19,8 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#define memcpy __memcpy + #include #include "memcopy.h" diff --git a/libc/string/generic/strsep.c b/libc/string/generic/strsep.c index 77670607b..b46610849 100644 --- a/libc/string/generic/strsep.c +++ b/libc/string/generic/strsep.c @@ -16,6 +16,8 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#define strpbrk __strpbrk + #include #undef strsep diff --git a/libc/string/generic/strtok_r.c b/libc/string/generic/strtok_r.c index 40d4e1a78..6daa68124 100644 --- a/libc/string/generic/strtok_r.c +++ b/libc/string/generic/strtok_r.c @@ -17,6 +17,10 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#define rawmemchr __rawmemchr +#define strspn __strspn +#define strpbrk __strpbrk + #define _GNU_SOURCE #include -- cgit v1.2.3