diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-09-12 10:19:54 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-12 18:40:35 -0400 |
commit | 5f12ffe1239a5e4f8d4e98e2dff4e191a71f4693 (patch) | |
tree | 39d2397a4c158aa45e26538b0798fe2e23e0d431 /src/thread/pthread_atfork.c | |
parent | 09e87db555045bf3bcef69c692df24d13b2856fe (diff) | |
download | musl-5f12ffe1239a5e4f8d4e98e2dff4e191a71f4693.tar.gz musl-5f12ffe1239a5e4f8d4e98e2dff4e191a71f4693.tar.bz2 musl-5f12ffe1239a5e4f8d4e98e2dff4e191a71f4693.tar.xz musl-5f12ffe1239a5e4f8d4e98e2dff4e191a71f4693.zip |
split internal lock API out of libc.h, creating lock.h
this further reduces the number of source files which need to include
libc.h and thereby be potentially exposed to libc global state and
internals.
this will also facilitate further improvements like adding an inline
fast-path, if we want to do so later.
Diffstat (limited to 'src/thread/pthread_atfork.c')
-rw-r--r-- | src/thread/pthread_atfork.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread/pthread_atfork.c b/src/thread/pthread_atfork.c index c6f77b3f..76497401 100644 --- a/src/thread/pthread_atfork.c +++ b/src/thread/pthread_atfork.c @@ -1,5 +1,6 @@ #include <pthread.h> #include "libc.h" +#include "lock.h" static struct atfork_funcs { void (*prepare)(void); |