From 097e5f6b5af44c8cfc365b0b7a9d8e628e647607 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 7 Jan 2016 23:36:46 +0100 Subject: NPTL: Fix __pthread_once old style declaration Trivial fix. Signed-Off-By: Leonid Lisovskiy --- libpthread/nptl/sysdeps/unix/sysv/linux/mips/pthread_once.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/mips/pthread_once.c b/libpthread/nptl/sysdeps/unix/sysv/linux/mips/pthread_once.c index 393f0d7ff..7cf918e0d 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/mips/pthread_once.c +++ b/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) { -- cgit v1.2.3