diff options
-rw-r--r-- | xmalloc.c | 2 | ||||
-rw-r--r-- | xmalloc.h | 3 |
2 files changed, 2 insertions, 3 deletions
@@ -27,7 +27,7 @@ | |||
27 | #include "log.h" | 27 | #include "log.h" |
28 | 28 | ||
29 | #if defined(__OpenBSD__) | 29 | #if defined(__OpenBSD__) |
30 | +char *malloc_options = "S"; | 30 | char *malloc_options = "S"; |
31 | #endif /* __OpenBSD__ */ | 31 | #endif /* __OpenBSD__ */ |
32 | 32 | ||
33 | void * | 33 | void * |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: xmalloc.h,v 1.17 2017/05/31 09:15:42 deraadt Exp $ */ | 1 | /* $OpenBSD: xmalloc.h,v 1.18 2019/06/06 05:13:13 otto Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -16,7 +16,6 @@ | |||
16 | * called by a name other than "ssh" or "Secure Shell". | 16 | * called by a name other than "ssh" or "Secure Shell". |
17 | */ | 17 | */ |
18 | 18 | ||
19 | void ssh_malloc_init(void); | ||
20 | void *xmalloc(size_t); | 19 | void *xmalloc(size_t); |
21 | void *xcalloc(size_t, size_t); | 20 | void *xcalloc(size_t, size_t); |
22 | void *xreallocarray(void *, size_t, size_t); | 21 | void *xreallocarray(void *, size_t, size_t); |