From 5ea195692d4e18c3fe317bcc4428777d8adab3a3 Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Fri, 11 Dec 2009 00:51:06 -0800 Subject: nptl: fix even more old style declarations Signed-off-by: Austin Foxley --- libpthread/nptl/sysdeps/pthread/pthread_once.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libpthread/nptl/sysdeps/pthread/pthread_once.c') diff --git a/libpthread/nptl/sysdeps/pthread/pthread_once.c b/libpthread/nptl/sysdeps/pthread/pthread_once.c index 9b2cef864..fc16bc535 100644 --- a/libpthread/nptl/sysdeps/pthread/pthread_once.c +++ b/libpthread/nptl/sysdeps/pthread/pthread_once.c @@ -26,9 +26,9 @@ static lll_lock_t once_lock = LLL_LOCK_INITIALIZER; int -__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)) { /* XXX Depending on whether the LOCK_IN_ONCE_T is defined use a global lock variable or one which is part of the pthread_once_t -- cgit v1.2.3