projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix wrong sigaction syscall ABI on mips*, or1k, microblaze, riscv64
[musl]
/
src
/
thread
/
pthread_atfork.c
diff --git
a/src/thread/pthread_atfork.c
b/src/thread/pthread_atfork.c
index
6d348ac
..
26d3254
100644
(file)
--- a/
src/thread/pthread_atfork.c
+++ b/
src/thread/pthread_atfork.c
@@
-3,6
+3,11
@@
#include "libc.h"
#include "lock.h"
+#define malloc __libc_malloc
+#define calloc undef
+#define realloc undef
+#define free undef
+
static struct atfork_funcs {
void (*prepare)(void);
void (*parent)(void);