From 698d2c6803ac9f329c0f46aed89b385680b3a31e Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 7 Aug 2002 07:57:49 +0000 Subject: 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 --- libc/stdlib/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libc/stdlib/Makefile') 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 -- cgit v1.2.3