summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/pthread/pthread_once.c
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-12-11 00:51:06 -0800
committerAustin Foxley <austinf@cetoncorp.com>2009-12-11 00:51:06 -0800
commit5ea195692d4e18c3fe317bcc4428777d8adab3a3 (patch)
treebb1c764a63ac6040ad0c1b5624a4678d8707359d /libpthread/nptl/sysdeps/pthread/pthread_once.c
parent1a3ad45bb56f144b78139966b9a618675c871bb5 (diff)
nptl: fix even more old style declarations
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/pthread_once.c')
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread_once.c6
1 files changed, 3 insertions, 3 deletions
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