diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-08-17 11:29:45 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-08-17 11:29:45 -0700 |
commit | 750c1f2a9aefc7b3329283c1b0c95e1a0bb88f14 (patch) | |
tree | 2901a662169f86b152d62b3a67b157e89fd022c1 /malloc/malloc.c | |
parent | 2ae1ae5cf441a90171ff483e3f0de6e8a9d611e4 (diff) | |
download | glibc-750c1f2a9aefc7b3329283c1b0c95e1a0bb88f14.zip glibc-750c1f2a9aefc7b3329283c1b0c95e1a0bb88f14.tar.gz glibc-750c1f2a9aefc7b3329283c1b0c95e1a0bb88f14.tar.bz2 |
Make malloc build for no-threads configurations.
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r-- | malloc/malloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c index 373e063..0f1796c 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -1075,9 +1075,10 @@ 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); -/* These routines are never needed in this configuration. */ +#ifndef NO_THREADS static void* malloc_atfork(size_t sz, const void *caller); static void free_atfork(void* mem, const void *caller); +#endif /* ------------- Optional versions of memcopy ---------------- */ |