diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2010-04-25 10:36:37 +0200 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2010-04-25 10:36:37 +0200 |
commit | d1dc72d6ad0d4822fb62d635638ed79028df8bc7 (patch) | |
tree | 67679ec1c64e70f26aab946ac87c55e7c39bd271 | |
parent | f71bcf0f42bf6926477cc3e3faa006cf74e59c45 (diff) |
nptl: Remove compiler warning due to old-style function definition
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
-rw-r--r-- | libpthread/nptl/sysdeps/sh/pthread_spin_lock.c | 3 |
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; |