diff options
Diffstat (limited to 'sysdeps/m68k')
-rw-r--r-- | sysdeps/m68k/m680x0/fpu/s_atan.c | 3 | ||||
-rw-r--r-- | sysdeps/m68k/m680x0/fpu/s_isinf.c | 3 | ||||
-rw-r--r-- | sysdeps/m68k/m680x0/fpu/s_scalbn.c | 4 | ||||
-rw-r--r-- | sysdeps/m68k/m680x0/fpu/s_sincos.c | 3 |
4 files changed, 4 insertions, 9 deletions
diff --git a/sysdeps/m68k/m680x0/fpu/s_atan.c b/sysdeps/m68k/m680x0/fpu/s_atan.c index 64ab3e27dd..af71e93a1b 100644 --- a/sysdeps/m68k/m680x0/fpu/s_atan.c +++ b/sysdeps/m68k/m680x0/fpu/s_atan.c @@ -27,8 +27,7 @@ #define __CONCATX(a,b) __CONCAT(a,b) float_type -__CONCATX(__,FUNC) (x) - float_type x; +__CONCATX(__,FUNC) (float_type x) { return __m81_u(__CONCATX(__,FUNC))(x); } diff --git a/sysdeps/m68k/m680x0/fpu/s_isinf.c b/sysdeps/m68k/m680x0/fpu/s_isinf.c index deb1f4b349..151ebe6d1d 100644 --- a/sysdeps/m68k/m680x0/fpu/s_isinf.c +++ b/sysdeps/m68k/m680x0/fpu/s_isinf.c @@ -27,8 +27,7 @@ #define __CONCATX(a,b) __CONCAT(a,b) int -__CONCATX(__,FUNC) (x) - float_type x; +__CONCATX(__,FUNC) (float_type x) { return __m81_u(__CONCATX(__,FUNC))(x); } diff --git a/sysdeps/m68k/m680x0/fpu/s_scalbn.c b/sysdeps/m68k/m680x0/fpu/s_scalbn.c index 4e0b878231..ec63771cf6 100644 --- a/sysdeps/m68k/m680x0/fpu/s_scalbn.c +++ b/sysdeps/m68k/m680x0/fpu/s_scalbn.c @@ -39,9 +39,7 @@ #define __CONCATX(a,b) __CONCAT(a,b) float_type -__CONCATX(__scalbn,suffix) (x, exp) - float_type x; - int exp; +__CONCATX(__scalbn,suffix) (float_type x, int exp) { return __m81_u(__CONCATX(__scalbn,suffix))(x, exp); } diff --git a/sysdeps/m68k/m680x0/fpu/s_sincos.c b/sysdeps/m68k/m680x0/fpu/s_sincos.c index 39af7008ee..059ff36a43 100644 --- a/sysdeps/m68k/m680x0/fpu/s_sincos.c +++ b/sysdeps/m68k/m680x0/fpu/s_sincos.c @@ -27,8 +27,7 @@ #define CONCATX(a,b) __CONCAT(a,b) void -CONCATX(__,FUNC) (x, sinx, cosx) - float_type x, *sinx, *cosx; +CONCATX(__,FUNC) (float_type x, float_type *sinx, float_type *cosx) { __m81_u(CONCATX(__,FUNC))(x, sinx, cosx); } |