[PATCH v3 5/8] MIPS: math-emu: Declare function srl128() as static
From: Aleksandar Markovic
Date: Thu Nov 02 2017 - 07:16:38 EST
From: Aleksandar Markovic <aleksandar.markovic@xxxxxxxx>
Declare function srl128() as static, since it it used just locally
to the source file.
This also removes a sparse warning for corresponding file.
Signed-off-by: Aleksandar Markovic <aleksandar.markovic@xxxxxxxx>
---
arch/mips/math-emu/dp_maddf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/math-emu/dp_maddf.c b/arch/mips/math-emu/dp_maddf.c
index 28b90fd..5c4ad8e 100644
--- a/arch/mips/math-emu/dp_maddf.c
+++ b/arch/mips/math-emu/dp_maddf.c
@@ -16,7 +16,7 @@
/* 128 bits shift right logical with rounding. */
-void srl128(u64 *hptr, u64 *lptr, int count)
+static void srl128(u64 *hptr, u64 *lptr, int count)
{
u64 low;
--
2.7.4