diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2008-08-22 17:14:58 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2008-08-22 17:14:58 +0000 |
commit | 382374da4558eceeadbb678b08cfdd1029c58b0f (patch) | |
tree | 95ea1df4c604892c3635a994179cbf242a753c74 /lib/libc/stdlib/Makefile.inc | |
parent | 18b5442f524b67a486479dd751e16d3a7d6ea1e0 (diff) |
Smarter implementation of calloc(3), which uses the fact that mmap(2)
returns zero filled pages; remember to replace this function as well if you
provide your own malloc implementation; ok djm@ deraadt@
Diffstat (limited to 'lib/libc/stdlib/Makefile.inc')
-rw-r--r-- | lib/libc/stdlib/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/Makefile.inc b/lib/libc/stdlib/Makefile.inc index f1708a1111d..09db4ce7935 100644 --- a/lib/libc/stdlib/Makefile.inc +++ b/lib/libc/stdlib/Makefile.inc @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile.inc,v 1.38 2008/06/13 21:04:24 landry Exp $ +# $OpenBSD: Makefile.inc,v 1.39 2008/08/22 17:14:56 otto Exp $ # stdlib sources .PATH: ${LIBCSRCDIR}/arch/${MACHINE_ARCH}/stdlib ${LIBCSRCDIR}/stdlib SRCS+= a64l.c abort.c atexit.c atoi.c atof.c atol.c atoll.c bsearch.c \ - calloc.c cfree.c exit.c ecvt.c gcvt.c getenv.c getopt_long.c \ + cfree.c exit.c ecvt.c gcvt.c getenv.c getopt_long.c \ getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c l64a.c llabs.c \ lldiv.c lsearch.c malloc.c merge.c putenv.c qsort.c radixsort.c rand.c \ random.c realpath.c setenv.c strtoimax.c strtod.c strtof.c strtol.c \ |