summaryrefslogtreecommitdiff
path: root/libc/stdlib/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-07 07:57:49 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-07 07:57:49 +0000
commit698d2c6803ac9f329c0f46aed89b385680b3a31e (patch)
tree59793ecae777f3d2a480bef1be1af4f39e76f9c6 /libc/stdlib/Makefile
parent99eb56df380e887832f121dc3680d4d7848a0050 (diff)
Per suggestion from Miles Bader, move calloc.c to libc/stdlib.
Also, Manuel notices that I forgot to check for when nmemb=0, which would result in a segfault, so fix that case as well. -Erik
Diffstat (limited to 'libc/stdlib/Makefile')
-rw-r--r--libc/stdlib/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/libc/stdlib/Makefile b/libc/stdlib/Makefile
index d7cdb3129..abf0054cc 100644
--- a/libc/stdlib/Makefile
+++ b/libc/stdlib/Makefile
@@ -44,12 +44,12 @@ endif
MSRC2=atexit.c
MOBJ2=atexit.o on_exit.o __exit_handler.o exit.o
-CSRC = abort.c getenv.c mktemp.c realpath.c \
- mkstemp.c mkstemp64.c rand.c random.c random_r.c setenv.c \
- system.c div.c ldiv.c getpt.c ptsname.c grantpt.c unlockpt.c
-CSRC+= 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
+CSRC = abort.c getenv.c mktemp.c realpath.c mkstemp.c mkstemp64.c \
+ rand.c random.c random_r.c setenv.c system.c div.c ldiv.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
ifeq ($(HAS_FLOATING_POINT),true)
CSRC += strtod.c strtof.c strtold.c
endif