Browse Source

NPTL: Fix __pthread_once old style declaration

Trivial fix.

Signed-Off-By: Leonid Lisovskiy <lly.dev@gmail.com>
Waldemar Brodkorb 9 years ago
parent
commit
097e5f6b5a
1 changed files with 1 additions and 3 deletions
  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)
     {