소스 검색

NPTL: Fix __pthread_once old style declaration

Trivial fix.

Signed-Off-By: Leonid Lisovskiy <lly.dev@gmail.com>
Waldemar Brodkorb 10 년 전
부모
커밋
097e5f6b5a
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      libpthread/nptl/sysdeps/unix/sysv/linux/mips/pthread_once.c

+ 1 - 3
libpthread/nptl/sysdeps/unix/sysv/linux/mips/pthread_once.c

@@ -35,9 +35,7 @@ clear_once_control (void *arg)
 
 int
 attribute_protected
-__pthread_once (once_control, init_routine)
-     pthread_once_t *once_control;
-     void (*init_routine) (void);
+__pthread_once (pthread_once_t *once_control, void (*init_routine) (void))
 {
   while (1)
     {