summaryrefslogtreecommitdiff
path: root/libc/string/generic
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-27 00:24:52 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-27 00:24:52 +0000
commitde77369cf4e80cb3c5ec250a25d2237df4abba11 (patch)
tree2b009a3af825a43ef30bae8ac512b9b9686c3ad8 /libc/string/generic
parent43cfeab2dcf300fbe024aa341d146179b4cdc75a (diff)
Hide some of mem* and str*
Diffstat (limited to 'libc/string/generic')
-rw-r--r--libc/string/generic/memmove.c2
-rw-r--r--libc/string/generic/strsep.c2
-rw-r--r--libc/string/generic/strtok_r.c4
3 files changed, 8 insertions, 0 deletions
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 <string.h>
#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 <string.h>
#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 <string.h>