summaryrefslogtreecommitdiff
path: root/src/internal/libc.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-12 10:10:14 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:38 -0400
commit09e87db555045bf3bcef69c692df24d13b2856fe (patch)
tree533569f89514c0351d134b9d70e64752077c8ed1 /src/internal/libc.h
parent63a4c9adf227a6f6a5f7f70f6dc3f8863f846927 (diff)
downloadmusl-09e87db555045bf3bcef69c692df24d13b2856fe.tar.gz
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/libc.h')
-rw-r--r--src/internal/libc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/internal/libc.h b/src/internal/libc.h
index e4fe9e9b..0a279184 100644
--- a/src/internal/libc.h
+++ b/src/internal/libc.h
@@ -43,6 +43,7 @@ hidden void __libc_start_init(void);
hidden void __funcs_on_exit(void);
hidden void __funcs_on_quick_exit(void);
hidden void __libc_exit_fini(void);
+hidden void __fork_handler(int);
extern hidden size_t __hwcap;
extern hidden size_t __sysinfo;