From 09e87db555045bf3bcef69c692df24d13b2856fe Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 12 Sep 2018 10:10:14 -0400 Subject: move misplaced __fork_handler declaration pthread_atfork.c does not actually include pthread_impl.h and has no reason to, so it wasn't getting the declaration. move it to libc.h which is already included by both fork.c and pthread_atfork.c. this makes more sense anyway since the function has little to do with pthreads anyway aside from the name. --- src/internal/pthread_impl.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/internal/pthread_impl.h') diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index a89ef9ac..052a5475 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -143,7 +143,6 @@ hidden void *__copy_tls(unsigned char *); hidden void __reset_tls(); hidden void __dl_thread_cleanup(void); -hidden void __fork_handler(int); hidden void __testcancel(); hidden void __do_cleanup_push(struct __ptcb *); hidden void __do_cleanup_pop(struct __ptcb *); -- cgit v1.2.1