From d1dc72d6ad0d4822fb62d635638ed79028df8bc7 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Sun, 25 Apr 2010 10:36:37 +0200 Subject: nptl: Remove compiler warning due to old-style function definition Signed-off-by: Carmelo Amoroso --- libpthread/nptl/sysdeps/sh/pthread_spin_lock.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libpthread') diff --git a/libpthread/nptl/sysdeps/sh/pthread_spin_lock.c b/libpthread/nptl/sysdeps/sh/pthread_spin_lock.c index d158183f0..2c72eb610 100644 --- a/libpthread/nptl/sysdeps/sh/pthread_spin_lock.c +++ b/libpthread/nptl/sysdeps/sh/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) { unsigned int val; -- cgit v1.2.3