summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-02 13:52:16 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-02 13:52:16 +0000
commit670b96a4456291c9e70d10e8312286b51a66f726 (patch)
tree29c42eda6468bf1251f845b5120d9f5d8367394f
parent8567a41b6e2a5012aa298e6d4a59031696032c22 (diff)
Add in a weak __mempcpy for mempcpy to make certain GNU
programs happy. bother...
-rw-r--r--libc/string/string.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/string/string.c b/libc/string/string.c
index 176ef895b..11666611a 100644
--- a/libc/string/string.c
+++ b/libc/string/string.c
@@ -321,6 +321,7 @@ void *mempcpy(void *dst, const void *src, size_t len)
return (void *) a;
}
+weak_alias(mempcpy, __mempcpy);
#endif
/********************** Function memccpy ************************************/