[git commit future] cacheflush.c: use strong_alias_untyped
Peter S. Mazinger
ps.m at gmx.net
Tue Apr 26 12:12:55 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=be12c37bf69aec337b2672712cf0417956179722
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future
strong_alias fails due to char * != void *
Reported-by: Maksim Rayskiy <maksim.rayskiy at gmail.com>
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
libc/sysdeps/linux/mips/cacheflush.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libc/sysdeps/linux/mips/cacheflush.c b/libc/sysdeps/linux/mips/cacheflush.c
index 56472a0..15a3442 100644
--- a/libc/sysdeps/linux/mips/cacheflush.c
+++ b/libc/sysdeps/linux/mips/cacheflush.c
@@ -21,7 +21,7 @@
#ifdef __NR_cacheflush
# include <sys/cachectl.h>
_syscall3(int, cacheflush, void *, addr, const int, nbytes, const int, op)
-strong_alias(cacheflush, _flush_cache)
+strong_alias_untyped(cacheflush, _flush_cache)
#endif
#ifdef __NR_cachectl
--
1.7.3.4
More information about the uClibc-cvs
mailing list