[PATCH 4/5] mips: Fix compiler warnings

Sascha Hauer s.hauer at pengutronix.de
Thu Apr 5 02:53:48 EDT 2012


Fixes:

arch/mips/lib/lshrdi3.c:6: warning: no previous prototype for '__lshrdi3'
arch/mips/lib/ashrdi3.c:6: warning: no previous prototype for '__ashrdi3'
arch/mips/lib/ashldi3.c:6: warning: no previous prototype for '__ashldi3'

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/mips/lib/libgcc.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/mips/lib/libgcc.h b/arch/mips/lib/libgcc.h
index 05909d5..593e598 100644
--- a/arch/mips/lib/libgcc.h
+++ b/arch/mips/lib/libgcc.h
@@ -22,4 +22,8 @@ typedef union {
 	long long ll;
 } DWunion;
 
+long long __lshrdi3(long long u, word_type b);
+long long __ashldi3(long long u, word_type b);
+long long __ashrdi3(long long u, word_type b);
+
 #endif /* __ASM_LIBGCC_H */
-- 
1.7.9.5




More information about the barebox mailing list