From e50a776d7615173ede86f5f492bed5d2b75214ec Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 16 Mar 2011 20:52:50 +0100 Subject: versionsort*.c, alphasort*.c: do not need *64 compiled for __WORDSIZE = 64 use a strong_alias instead Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/misc/dirent/alphasort.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libc/misc/dirent/alphasort.c') diff --git a/libc/misc/dirent/alphasort.c b/libc/misc/dirent/alphasort.c index eb0dbf238..55980d115 100644 --- a/libc/misc/dirent/alphasort.c +++ b/libc/misc/dirent/alphasort.c @@ -12,4 +12,6 @@ int alphasort(const struct dirent **a, const struct dirent **b) { return strcmp((*a)->d_name, (*b)->d_name); } - +#if defined __UCLIBC_HAS_LFS__ && __WORDSIZE == 64 +strong_alias_untyped(alphasort,alphasort64) +#endif -- cgit v1.2.3