浏览代码

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

Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso 15 年之前
父节点
当前提交
d1dc72d6ad
共有 1 个文件被更改,包括 1 次插入2 次删除
  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;