summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/stdlib/Makefile3
-rw-r--r--libc/stdlib/malloc-930716/Makefile2
-rw-r--r--libc/stdlib/valloc.c (renamed from libc/stdlib/malloc-930716/valloc.c)0
3 files changed, 3 insertions, 2 deletions
diff --git a/libc/stdlib/Makefile b/libc/stdlib/Makefile
index 91a855f6f..14ac93f51 100644
--- a/libc/stdlib/Makefile
+++ b/libc/stdlib/Makefile
@@ -46,7 +46,8 @@ CSRC = abort.c getenv.c mkdtemp.c mktemp.c realpath.c mkstemp.c mkstemp64.c \
getpt.c ptsname.c grantpt.c unlockpt.c gcvt.c drand48.c \
drand48-iter.c drand48_r.c erand48.c erand48_r.c jrand48.c \
jrand48_r.c lrand48.c lrand48_r.c mrand48.c mrand48_r.c \
- nrand48.c nrand48_r.c rand_r.c srand48.c srand48_r.c calloc.c
+ nrand48.c nrand48_r.c rand_r.c srand48.c srand48_r.c calloc.c \
+ valloc.c
ifeq ($(HAS_FLOATING_POINT),true)
CSRC += strtod.c strtof.c strtold.c
endif
diff --git a/libc/stdlib/malloc-930716/Makefile b/libc/stdlib/malloc-930716/Makefile
index 2e3ee21a7..cc746707e 100644
--- a/libc/stdlib/malloc-930716/Makefile
+++ b/libc/stdlib/malloc-930716/Makefile
@@ -25,7 +25,7 @@ TOPDIR=../../../
include $(TOPDIR)Rules.mak
# calloc.c can be found at uClibc/libc/stdlib/calloc.c
-CSRC=malloc.c valloc.c
+CSRC=malloc.c
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(COBJS)
diff --git a/libc/stdlib/malloc-930716/valloc.c b/libc/stdlib/valloc.c
index bfb9efd2a..bfb9efd2a 100644
--- a/libc/stdlib/malloc-930716/valloc.c
+++ b/libc/stdlib/valloc.c