diff options
author | millert <> | 1999-11-09 19:25:33 +0000 |
---|---|---|
committer | millert <> | 1999-11-09 19:25:33 +0000 |
commit | 5d55745080b705a4223d109d1dbbd95cf1072a73 (patch) | |
tree | 358f23b9e3de9b2efb9df202c8cbba230073c891 /src/lib/libc/stdlib/Makefile.inc | |
parent | c3c518ea633f6a6753cac521b770066c6f7cc498 (diff) | |
download | openbsd-5d55745080b705a4223d109d1dbbd95cf1072a73.tar.gz openbsd-5d55745080b705a4223d109d1dbbd95cf1072a73.tar.bz2 openbsd-5d55745080b705a4223d109d1dbbd95cf1072a73.zip |
Move calloc() into malloc.c and only zero out the area if malloc()
didn't do so for us. By default, malloc() zeros out the space it
allocates but the programmer cannot rely on this as it is implementation-
specific (and configurable via /etc/malloc.conf)
Diffstat (limited to 'src/lib/libc/stdlib/Makefile.inc')
-rw-r--r-- | src/lib/libc/stdlib/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libc/stdlib/Makefile.inc b/src/lib/libc/stdlib/Makefile.inc index 3191f08328..b1c20d08cd 100644 --- a/src/lib/libc/stdlib/Makefile.inc +++ b/src/lib/libc/stdlib/Makefile.inc | |||
@@ -3,7 +3,7 @@ | |||
3 | # stdlib sources | 3 | # stdlib sources |
4 | .PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/stdlib ${LIBCSRCDIR}/stdlib | 4 | .PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/stdlib ${LIBCSRCDIR}/stdlib |
5 | 5 | ||
6 | SRCS+= a64l.c abort.c atexit.c atoi.c atof.c atol.c bsearch.c calloc.c \ | 6 | SRCS+= a64l.c abort.c atexit.c atoi.c atof.c atol.c bsearch.c \ |
7 | cfree.c exit.c getenv.c getopt.c getsubopt.c heapsort.c l64a.c \ | 7 | cfree.c exit.c getenv.c getopt.c getsubopt.c heapsort.c l64a.c \ |
8 | malloc.c merge.c multibyte.c putenv.c qsort.c radixsort.c rand.c \ | 8 | malloc.c merge.c multibyte.c putenv.c qsort.c radixsort.c rand.c \ |
9 | random.c realpath.c setenv.c strtod.c strtol.c strtoq.c strtoul.c \ | 9 | random.c realpath.c setenv.c strtod.c strtol.c strtoq.c strtoul.c \ |