diff options
Diffstat (limited to 'sysdeps/sparc/sparc32')
-rw-r--r-- | sysdeps/sparc/sparc32/e_sqrt.c | 3 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/pthread_barrier_wait.c | 3 | ||||
-rw-r--r-- | sysdeps/sparc/sparc32/sem_init.c | 5 |
3 files changed, 3 insertions, 8 deletions
diff --git a/sysdeps/sparc/sparc32/e_sqrt.c b/sysdeps/sparc/sparc32/e_sqrt.c index 587fd1ee6a..1defe1d8dc 100644 --- a/sysdeps/sparc/sparc32/e_sqrt.c +++ b/sysdeps/sparc/sparc32/e_sqrt.c @@ -24,8 +24,7 @@ /* Return the square root of X. */ double -__ieee754_sqrt (x) - double x; +__ieee754_sqrt (double x) { register double result; asm ("fsqrtd %1, %0" : "=f" (result) : "f" (x)); diff --git a/sysdeps/sparc/sparc32/pthread_barrier_wait.c b/sysdeps/sparc/sparc32/pthread_barrier_wait.c index 5e1aa1159c..33f9e9a679 100644 --- a/sysdeps/sparc/sparc32/pthread_barrier_wait.c +++ b/sysdeps/sparc/sparc32/pthread_barrier_wait.c @@ -25,8 +25,7 @@ /* Wait on barrier. */ int -__pthread_barrier_wait (barrier) - pthread_barrier_t *barrier; +__pthread_barrier_wait (pthread_barrier_t *barrier) { union sparc_pthread_barrier *ibarrier = (union sparc_pthread_barrier *) barrier; diff --git a/sysdeps/sparc/sparc32/sem_init.c b/sysdeps/sparc/sparc32/sem_init.c index 1c7c455617..9911c25b3c 100644 --- a/sysdeps/sparc/sparc32/sem_init.c +++ b/sysdeps/sparc/sparc32/sem_init.c @@ -61,10 +61,7 @@ versioned_symbol (libpthread, __new_sem_init, sem_init, GLIBC_2_1); #if SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1) int attribute_compat_text_section -__old_sem_init (sem, pshared, value) - sem_t *sem; - int pshared; - unsigned int value; +__old_sem_init (sem_t *sem, int pshared, unsigned int value) { /* Parameter sanity check. */ if (__glibc_unlikely (value > SEM_VALUE_MAX)) |