summaryrefslogtreecommitdiff
path: root/libc/misc/regex
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/misc/regex
parent43cfeab2dcf300fbe024aa341d146179b4cdc75a (diff)
Hide some of mem* and str*
Diffstat (limited to 'libc/misc/regex')
-rw-r--r--libc/misc/regex/regex.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex.c
index 0e8a18f5d..5f2e90da3 100644
--- a/libc/misc/regex/regex.c
+++ b/libc/misc/regex/regex.c
@@ -20,6 +20,14 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#define HAVE_MEMPCPY
+#define __mempcpy __libc_mempcpy
+#define memset __memset
+#define memcmp __memcmp
+#define strcmp __strcmp
+#define strlen __strlen
+/* for some reason this does not work */
+#define memcpy __memcpy
/* To exclude some unwanted junk.... */
#undef _LIBC
@@ -30,6 +38,9 @@
#include <string.h>
#define STDC_HEADERS
+extern void *__libc_mempcpy (void *__restrict __dest,
+ __const void *__restrict __src, size_t __n) /*attribute_hidden*/;
+
/* AIX requires this to be the first thing in the file. */
#if defined _AIX && !defined REGEX_MALLOC
#pragma alloca