aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390')
-rw-r--r--sysdeps/s390/ffs.c3
-rw-r--r--sysdeps/s390/nptl/pthread_spin_lock.c3
-rw-r--r--sysdeps/s390/nptl/pthread_spin_trylock.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/sysdeps/s390/ffs.c b/sysdeps/s390/ffs.c
index 645e40d..a5d1025 100644
--- a/sysdeps/s390/ffs.c
+++ b/sysdeps/s390/ffs.c
@@ -29,8 +29,7 @@
differs in spirit from the above ffz (man ffs). */
int
-__ffs (x)
- int x;
+__ffs (int x)
{
int r;
diff --git a/sysdeps/s390/nptl/pthread_spin_lock.c b/sysdeps/s390/nptl/pthread_spin_lock.c
index b255b38..f6bca3d 100644
--- a/sysdeps/s390/nptl/pthread_spin_lock.c
+++ b/sysdeps/s390/nptl/pthread_spin_lock.c
@@ -19,8 +19,7 @@
#include "pthreadP.h"
int
-pthread_spin_lock (lock)
- pthread_spinlock_t *lock;
+pthread_spin_lock (pthread_spinlock_t *lock)
{
int oldval;
diff --git a/sysdeps/s390/nptl/pthread_spin_trylock.c b/sysdeps/s390/nptl/pthread_spin_trylock.c
index 144cc77..210a2c6 100644
--- a/sysdeps/s390/nptl/pthread_spin_trylock.c
+++ b/sysdeps/s390/nptl/pthread_spin_trylock.c
@@ -20,8 +20,7 @@
#include "pthreadP.h"
int
-pthread_spin_trylock (lock)
- pthread_spinlock_t *lock;
+pthread_spin_trylock (pthread_spinlock_t *lock)
{
int old;