diff options
Diffstat (limited to 'sysdeps')
-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 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/scandir64.c | 10 |
5 files changed, 8 insertions, 15 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); } diff --git a/sysdeps/unix/sysv/linux/i386/scandir64.c b/sysdeps/unix/sysv/linux/i386/scandir64.c index 86290780c4..208b93235b 100644 --- a/sysdeps/unix/sysv/linux/i386/scandir64.c +++ b/sysdeps/unix/sysv/linux/i386/scandir64.c @@ -37,12 +37,10 @@ versioned_symbol (libc, __scandir64, scandir64, GLIBC_2_2); # include "olddirent.h" int -__old_scandir64 (dir, namelist, select, cmp) - const char *dir; - struct __old_dirent64 ***namelist; - int (*select) (const struct __old_dirent64 *); - int (*cmp) (const struct __old_dirent64 **, - const struct __old_dirent64 **); +__old_scandir64 (const char *dir, struct __old_dirent64 ***namelist, + int (*select) (const struct __old_dirent64 *), + int (*cmp) (const struct __old_dirent64 **, + const struct __old_dirent64 **)) { DIR *dp = __opendir (dir); struct __old_dirent64 **v = NULL; |