diff options
| author | otto <> | 2017-03-06 18:44:21 +0000 |
|---|---|---|
| committer | otto <> | 2017-03-06 18:44:21 +0000 |
| commit | 0dbf4a31aa2becc157a25e82d3291c6494b3667e (patch) | |
| tree | 570e08cfdf1bfdb9578fff3188f3567b4b7376ee /src/lib/libc/stdlib/Makefile.inc | |
| parent | ff039d35a200670887f77531569823a1886c89af (diff) | |
| download | openbsd-0dbf4a31aa2becc157a25e82d3291c6494b3667e.tar.gz openbsd-0dbf4a31aa2becc157a25e82d3291c6494b3667e.tar.bz2 openbsd-0dbf4a31aa2becc157a25e82d3291c6494b3667e.zip | |
Introducing recallocarray(3), a blend of calloc(3) and reallocarray(3)
with the added feature that released memory is cleared. Much input from various
developers. ok deraadt@ tom@
Diffstat (limited to 'src/lib/libc/stdlib/Makefile.inc')
| -rw-r--r-- | src/lib/libc/stdlib/Makefile.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libc/stdlib/Makefile.inc b/src/lib/libc/stdlib/Makefile.inc index 3489e44021..36b5869adb 100644 --- a/src/lib/libc/stdlib/Makefile.inc +++ b/src/lib/libc/stdlib/Makefile.inc | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile.inc,v 1.61 2016/08/14 23:18:03 guenther Exp $ | 1 | # $OpenBSD: Makefile.inc,v 1.62 2017/03/06 18:44:21 otto Exp $ |
| 2 | 2 | ||
| 3 | # stdlib sources | 3 | # stdlib sources |
| 4 | .PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/stdlib ${LIBCSRCDIR}/stdlib | 4 | .PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/stdlib ${LIBCSRCDIR}/stdlib |
| @@ -7,6 +7,7 @@ SRCS+= a64l.c abort.c atexit.c atoi.c atof.c atol.c atoll.c bsearch.c \ | |||
| 7 | exit.c ecvt.c gcvt.c getenv.c getopt_long.c \ | 7 | exit.c ecvt.c gcvt.c getenv.c getopt_long.c \ |
| 8 | getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c insque.c \ | 8 | getsubopt.c hcreate.c heapsort.c imaxabs.c imaxdiv.c insque.c \ |
| 9 | l64a.c llabs.c lldiv.c lsearch.c malloc.c reallocarray.c \ | 9 | l64a.c llabs.c lldiv.c lsearch.c malloc.c reallocarray.c \ |
| 10 | recallocarray.c \ | ||
| 10 | merge.c posix_pty.c qsort.c radixsort.c rand.c random.c \ | 11 | merge.c posix_pty.c qsort.c radixsort.c rand.c random.c \ |
| 11 | realpath.c remque.c setenv.c strtoimax.c \ | 12 | realpath.c remque.c setenv.c strtoimax.c \ |
| 12 | strtol.c strtoll.c strtonum.c strtoul.c strtoull.c strtoumax.c \ | 13 | strtol.c strtoll.c strtonum.c strtoul.c strtoull.c strtoumax.c \ |
