summaryrefslogtreecommitdiff
path: root/arch/mips/math-emu/sp_flong.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-16 03:31:11 +0400
committerRalf Baechle <ralf@linux-mips.org>2014-05-21 13:12:48 +0400
commit2209bcb1310ffa9ee1af12573f1413581c712b15 (patch)
treeeba9f53adc3bb83dc499f15873d4e49886662122 /arch/mips/math-emu/sp_flong.c
parent23708818210cec367083ce9c09c6e71a5767d7e3 (diff)
downloadlinux-2209bcb1310ffa9ee1af12573f1413581c712b15.tar.xz
MIPS: math-emu: Get rid of typedefs.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/sp_flong.c')
-rw-r--r--arch/mips/math-emu/sp_flong.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/math-emu/sp_flong.c b/arch/mips/math-emu/sp_flong.c
index 16a651f29865..c457a9f8a148 100644
--- a/arch/mips/math-emu/sp_flong.c
+++ b/arch/mips/math-emu/sp_flong.c
@@ -26,7 +26,7 @@
#include "ieee754sp.h"
-ieee754sp ieee754sp_flong(s64 x)
+union ieee754sp ieee754sp_flong(s64 x)
{
u64 xm; /* <--- need 64-bit mantissa temp */
int xe;
@@ -69,7 +69,7 @@ ieee754sp ieee754sp_flong(s64 x)
}
-ieee754sp ieee754sp_fulong(u64 u)
+union ieee754sp ieee754sp_fulong(u64 u)
{
if ((s64) u < 0)
return ieee754sp_add(ieee754sp_1e63(),