From e11c3011b10ada67c68d2d43a56fe606d35ca507 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 22 Dec 2007 06:28:23 +0000 Subject: mark a bunch of public mem/str functions as weak so that people who insist on their own local copies while static linking dont hit link failures when other uClibc code force the libc.a objects to be pulled in via the hidden alias symbols --- libc/string/mempcpy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/string/mempcpy.c') diff --git a/libc/string/mempcpy.c b/libc/string/mempcpy.c index cf4af8d39..91896434b 100644 --- a/libc/string/mempcpy.c +++ b/libc/string/mempcpy.c @@ -36,5 +36,5 @@ Wvoid *Wmempcpy(Wvoid * __restrict s1, const Wvoid * __restrict s2, size_t n) return r1; } -libc_hidden_def(Wmempcpy) +libc_hidden_weak(Wmempcpy) #endif -- cgit v1.2.3