diff options
author | 2018-11-19 22:50:24 +0000 | |
---|---|---|
committer | 2018-11-19 22:50:24 +0000 | |
commit | 72ca0bdac305731d180444d5448cada08d6674c0 (patch) | |
tree | 15ccd0abf635d8c936c5b6cb3b9322f49a994b83 /lib/libc/stdlib/malloc.c | |
parent | Improve POSIX compliance by making case-insensitive extended (diff) | |
download | wireguard-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.c | 3 |
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) |