summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/Makefile.inc
diff options
context:
space:
mode:
authortedu <>2014-04-22 14:26:26 +0000
committertedu <>2014-04-22 14:26:26 +0000
commit278908c117aaf29838271fddec9dc05e0e28f466 (patch)
treec8c9415e75220dc3ffecdcd042ee356dc6051ba3 /src/lib/libc/stdlib/Makefile.inc
parenta2f3c9059060ba06984e34590e6893bb786cf887 (diff)
downloadopenbsd-278908c117aaf29838271fddec9dc05e0e28f466.tar.gz
openbsd-278908c117aaf29838271fddec9dc05e0e28f466.tar.bz2
openbsd-278908c117aaf29838271fddec9dc05e0e28f466.zip
change mallocarray to reallocarray. useful in a few more situations.
malloc can, as always, be emulated via realloc(NULL). ok deraadt
Diffstat (limited to 'src/lib/libc/stdlib/Makefile.inc')
-rw-r--r--src/lib/libc/stdlib/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/Makefile.inc b/src/lib/libc/stdlib/Makefile.inc
index c8dc01c4c4..83b42c34e3 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.51 2014/04/21 13:21:57 deraadt Exp $ 1# $OpenBSD: Makefile.inc,v 1.52 2014/04/22 14:26:26 tedu 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
@@ -44,7 +44,7 @@ MLINKS+=insque.3 remque.3
44MLINKS+=labs.3 llabs.3 44MLINKS+=labs.3 llabs.3
45MLINKS+=lsearch.3 lfind.3 45MLINKS+=lsearch.3 lfind.3
46MLINKS+=malloc.3 free.3 malloc.3 realloc.3 malloc.3 calloc.3 46MLINKS+=malloc.3 free.3 malloc.3 realloc.3 malloc.3 calloc.3
47MLINKS+=malloc.3 mallocarray.3 malloc.3 cfree.3 malloc.3 malloc.conf.5 47MLINKS+=malloc.3 reallocarray.3 malloc.3 cfree.3 malloc.3 malloc.conf.5
48MLINKS+=qsort.3 heapsort.3 qsort.3 mergesort.3 48MLINKS+=qsort.3 heapsort.3 qsort.3 mergesort.3
49MLINKS+=radixsort.3 sradixsort.3 49MLINKS+=radixsort.3 sradixsort.3
50MLINKS+=rand.3 srand.3 rand.3 rand_r.3 50MLINKS+=rand.3 srand.3 rand.3 rand_r.3