Kaynağa Gözat

nptl: Remove compiler warning due to old-style function definition

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso 16 yıl önce
ebeveyn
işleme
d1dc72d6ad

+ 1 - 2
libpthread/nptl/sysdeps/sh/pthread_spin_lock.c

@@ -19,8 +19,7 @@
 #include "pthreadP.h"
 #include "pthreadP.h"
 
 
 int
 int
-pthread_spin_lock (lock)
-     pthread_spinlock_t *lock;
+pthread_spin_lock (pthread_spinlock_t *lock)
 {
 {
   unsigned int val;
   unsigned int val;