projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
aarch64: add HWCAP2_ macros from linux v5.3
[musl]
/
src
/
thread
/
pthread_atfork.c
diff --git
a/src/thread/pthread_atfork.c
b/src/thread/pthread_atfork.c
index
a40d7f6
..
7649740
100644
(file)
--- 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);
@@
-8,7
+9,7
@@
static struct atfork_funcs {
struct atfork_funcs *prev, *next;
} *funcs;
-static volatile int lock[
2
];
+static volatile int lock[
1
];
void __fork_handler(int who)
{