From 8ebd4b8855981462a03f5930a1f8d712c021190f Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Wed, 9 Dec 2009 16:53:57 -0800 Subject: nptl: fix old style function declerations also fix a few shadowed local warnings Signed-off-by: Austin Foxley --- libpthread/nptl/pthread_atfork.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libpthread/nptl/pthread_atfork.c') diff --git a/libpthread/nptl/pthread_atfork.c b/libpthread/nptl/pthread_atfork.c index 491362e19..5e9b35284 100644 --- a/libpthread/nptl/pthread_atfork.c +++ b/libpthread/nptl/pthread_atfork.c @@ -44,10 +44,10 @@ extern void *__dso_handle __attribute__ ((__weak__)); /* Hide the symbol so that no definition but the one locally in the executable or DSO is used. */ int -__pthread_atfork (prepare, parent, child) - void (*prepare) (void); - void (*parent) (void); - void (*child) (void); +__pthread_atfork ( + void (*prepare) (void), + void (*parent) (void), + void (*child) (void)) { return __register_atfork (prepare, parent, child, &__dso_handle == NULL ? NULL : __dso_handle); -- cgit v1.2.3