Browse Source

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

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso 15 năm trước cách đây
mục cha
commit
d1dc72d6ad
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  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;