aboutsummaryrefslogtreecommitdiff
path: root/malloc/malloc.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-02-19 17:07:45 +0100
committerMike Frysinger <vapier@gentoo.org>2016-11-12 00:44:24 -0500
commitfae1b8da66aae5ef731328d04c9aa1715c4bc9a4 (patch)
tree1d73257950ff6480b8f3f073f50b29d912deb00c /malloc/malloc.c
parent48148b3e5235ac0abe6e73d534e5454180f94be6 (diff)
downloadglibc-fae1b8da66aae5ef731328d04c9aa1715c4bc9a4.tar.xz
glibc-fae1b8da66aae5ef731328d04c9aa1715c4bc9a4.zip
malloc: Remove NO_THREADS
No functional change. It was not possible to build without threading support before. (cherry picked from commit 59eda029a8a35e5f4e5cd7be0f84c6629e48ec6e) (cherry picked from commit f69ae17e843b00d3495b736f4381c1fa64dc02bc)
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r--malloc/malloc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index d20d5955db..1b9d162b2b 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -1074,10 +1074,8 @@ static void* realloc_check(void* oldmem, size_t bytes,
const void *caller);
static void* memalign_check(size_t alignment, size_t bytes,
const void *caller);
-#ifndef NO_THREADS
static void* malloc_atfork(size_t sz, const void *caller);
static void free_atfork(void* mem, const void *caller);
-#endif
/* ------------------ MMAP support ------------------ */