diff options
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/pthread_once.c')
-rw-r--r-- | libpthread/nptl/sysdeps/pthread/pthread_once.c | 6 |
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 |