Browse Source

Fix compilation on alpha, where DEF_WEAK() really must be paired with

PROTO_NORMAL().  Problem noted by deraadt@
OPENBSD_6_5
guenther 6 years ago
parent
commit
c0572c7336
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/lib/libc/stdlib/malloc.c

+ 1
- 2
src/lib/libc/stdlib/malloc.c View File

@ -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) 2008, 2010, 2011, 2016 Otto Moerbeek <otto@drijf.net>
* Copyright (c) 2012 Matthew Dempsky <matthew@openbsd.org> * Copyright (c) 2012 Matthew Dempsky <matthew@openbsd.org>
@ -1542,7 +1542,6 @@ malloc_usable_size(void *ptr)
errno = saved_errno; errno = saved_errno;
return sz; return sz;
} }
DEF_WEAK(malloc_usable_size);
static void * static void *
orealloc(struct dir_info *argpool, void *p, size_t newsz, void *f) orealloc(struct dir_info *argpool, void *p, size_t newsz, void *f)


Loading…
Cancel
Save