summaryrefslogtreecommitdiff
path: root/libpthread/nptl
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2010-04-25 10:36:37 +0200
committerCarmelo Amoroso <carmelo.amoroso@st.com>2010-04-25 10:36:37 +0200
commitd1dc72d6ad0d4822fb62d635638ed79028df8bc7 (patch)
tree67679ec1c64e70f26aab946ac87c55e7c39bd271 /libpthread/nptl
parentf71bcf0f42bf6926477cc3e3faa006cf74e59c45 (diff)
nptl: Remove compiler warning due to old-style function definition
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libpthread/nptl')
-rw-r--r--libpthread/nptl/sysdeps/sh/pthread_spin_lock.c3
1 files changed, 1 insertions, 2 deletions
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;