commit 2bdc9210a0f6ea957dc6d28593f4b6aeed581171
parent d98d56fb209fb0d9c94872fdd7c7c5834d5a0ef6
Author: Joris Vink <joris@coders.se>
Date: Tue, 22 Apr 2014 13:05:16 +0200
Wrap with KORE_PEDANTIC_MALLOC
Diffstat:
src/mem.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mem.c b/src/mem.c
@@ -120,8 +120,10 @@ kore_strdup(const char *str)
return (nstr);
}
+#if defined(KORE_PEDANTIC_MALLOC)
void
explicit_bzero(void *addr, size_t len)
{
bzero(addr, len);
}
+#endif