path: root/src/internal/pthread_impl.h
diff options
authorRich Felker <>2018-09-12 10:10:14 -0400
committerRich Felker <>2018-09-12 14:34:38 -0400
commit09e87db555045bf3bcef69c692df24d13b2856fe (patch)
tree533569f89514c0351d134b9d70e64752077c8ed1 /src/internal/pthread_impl.h
parent63a4c9adf227a6f6a5f7f70f6dc3f8863f846927 (diff)
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.
Diffstat (limited to 'src/internal/pthread_impl.h')
1 files changed, 0 insertions, 1 deletions
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 *);