diff options
Diffstat (limited to 'sysdeps/sparc')
-rw-r--r-- | sysdeps/sparc/nptl/pthread_barrier_destroy.c | 3 | ||||
-rw-r--r-- | sysdeps/sparc/nptl/pthread_barrier_wait.c | 3 | ||||
-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 |
5 files changed, 5 insertions, 12 deletions
diff --git a/sysdeps/sparc/nptl/pthread_barrier_destroy.c b/sysdeps/sparc/nptl/pthread_barrier_destroy.c index e8044a757c..d6fec348f9 100644 --- a/sysdeps/sparc/nptl/pthread_barrier_destroy.c +++ b/sysdeps/sparc/nptl/pthread_barrier_destroy.c @@ -22,8 +22,7 @@ #include <sparc-nptl.h> int -pthread_barrier_destroy (barrier) - pthread_barrier_t *barrier; +pthread_barrier_destroy (pthread_barrier_t *barrier) { union sparc_pthread_barrier *ibarrier; int result = EBUSY; diff --git a/sysdeps/sparc/nptl/pthread_barrier_wait.c b/sysdeps/sparc/nptl/pthread_barrier_wait.c index 9e9806a31a..cb0aa469de 100644 --- a/sysdeps/sparc/nptl/pthread_barrier_wait.c +++ b/sysdeps/sparc/nptl/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/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)) |