make existing ssh_malloc_init only for __OpenBSD__

This commit is contained in:
Damien Miller 2016-02-16 10:45:02 +11:00
parent 24c9bded56
commit 5ac712d81a
1 changed files with 2 additions and 0 deletions

View File

@ -29,9 +29,11 @@
void void
ssh_malloc_init(void) ssh_malloc_init(void)
{ {
#if defined(__OpenBSD__)
extern char *malloc_options; extern char *malloc_options;
malloc_options = "S"; malloc_options = "S";
#endif /* __OpenBSD__ */
} }
void * void *