summaryrefslogtreecommitdiff
path: root/xmalloc.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2016-02-16 10:45:02 +1100
committerDamien Miller <djm@mindrot.org>2016-02-16 10:45:02 +1100
commit5ac712d81a84396aab441a272ec429af5b738302 (patch)
tree549117d2b090ba70a9178928799e8c02aed24afe /xmalloc.c
parent24c9bded569d9f2449ded73f92fb6d12db7a9eec (diff)
make existing ssh_malloc_init only for __OpenBSD__
Diffstat (limited to 'xmalloc.c')
-rw-r--r--xmalloc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmalloc.c b/xmalloc.c
index dea9dd9fe..b58323677 100644
--- a/xmalloc.c
+++ b/xmalloc.c
@@ -29,9 +29,11 @@
29void 29void
30ssh_malloc_init(void) 30ssh_malloc_init(void)
31{ 31{
32#if defined(__OpenBSD__)
32 extern char *malloc_options; 33 extern char *malloc_options;
33 34
34 malloc_options = "S"; 35 malloc_options = "S";
36#endif /* __OpenBSD__ */
35} 37}
36 38
37void * 39void *