Explorar o código

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

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso %!s(int64=15) %!d(string=hai) anos
pai
achega
d1dc72d6ad
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      libpthread/nptl/sysdeps/sh/pthread_spin_lock.c

+ 1 - 2
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;