summaryrefslogtreecommitdiff
path: root/malloc/arena.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-02-19 17:07:45 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-02-19 17:07:45 +0100
commit59eda029a8a35e5f4e5cd7be0f84c6629e48ec6e (patch)
tree63b915b9258bf371bae30d56f54c5a1eed4b3e61 /malloc/arena.c
parentca135f824b1dbaf43e4a673de7725db76a51b714 (diff)
downloadglibc-59eda029a8a35e5f4e5cd7be0f84c6629e48ec6e.tar.gz
malloc: Remove NO_THREADS
No functional change. It was not possible to build without threading support before.
Diffstat (limited to 'malloc/arena.c')
-rw-r--r--malloc/arena.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/malloc/arena.c b/malloc/arena.c
index 54cf0865ea..cd26cdd02c 100644
--- a/malloc/arena.c
+++ b/malloc/arena.c
@@ -127,8 +127,6 @@ int __malloc_initialized = -1;
/**************************************************************************/
-#ifndef NO_THREADS
-
/* atfork support. */
static void *(*save_malloc_hook)(size_t __size, const void *);
@@ -327,7 +325,6 @@ ptmalloc_unlock_all2 (void)
# define ptmalloc_unlock_all2 ptmalloc_unlock_all
# endif
-#endif /* !NO_THREADS */
/* Initialization routine. */
#include <string.h>