diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2018-11-19 22:50:25 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2018-11-19 22:50:25 +0000 |
commit | c23d6df5c75f7fc7b71a03a374dbada610ebb19b (patch) | |
tree | ac6126277d4757bb751ede7f9f9d7368c8ffdebc /lib | |
parent | 1c30573774ed2f29be306e344aeb4dd21a1c21ef (diff) |
Fix compilation on alpha, where DEF_WEAK() really must be paired with
PROTO_NORMAL(). Problem noted by deraadt@
Diffstat (limited to 'lib')
-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) |