summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2018-11-19 22:50:24 +0000
committerguenther <guenther@openbsd.org>2018-11-19 22:50:24 +0000
commit72ca0bdac305731d180444d5448cada08d6674c0 (patch)
tree15ccd0abf635d8c936c5b6cb3b9322f49a994b83 /lib/libc/stdlib/malloc.c
parentImprove POSIX compliance by making case-insensitive extended (diff)
downloadwireguard-openbsd-72ca0bdac305731d180444d5448cada08d6674c0.tar.xz
wireguard-openbsd-72ca0bdac305731d180444d5448cada08d6674c0.zip
Fix compilation on alpha, where DEF_WEAK() really must be paired with
PROTO_NORMAL(). Problem noted by deraadt@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
-rw-r--r--lib/libc/stdlib/malloc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c
index ee4d4c055e9..513defccbcb 100644
--- a/lib/libc/stdlib/malloc.c
+++ b/lib/libc/stdlib/malloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: malloc.c,v 1.252 2018/11/18 16:15:18 otto Exp $ */
+/* $OpenBSD: malloc.c,v 1.253 2018/11/19 22:50:24 guenther Exp $ */
/*
* Copyright (c) 2008, 2010, 2011, 2016 Otto Moerbeek <otto@drijf.net>
* Copyright (c) 2012 Matthew Dempsky <matthew@openbsd.org>
@@ -1542,7 +1542,6 @@ malloc_usable_size(void *ptr)
errno = saved_errno;
return sz;
}
-DEF_WEAK(malloc_usable_size);
static void *
orealloc(struct dir_info *argpool, void *p, size_t newsz, void *f)