From f96b8ad1ee83dec08ae636e179cc48019ca50b12 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 10 Apr 2021 15:25:27 +0200 Subject: Some changes here and there --- libs/libc/alloc.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'libs/libc/alloc.c') diff --git a/libs/libc/alloc.c b/libs/libc/alloc.c index 2f8e0ba..4913479 100644 --- a/libs/libc/alloc.c +++ b/libs/libc/alloc.c @@ -403,7 +403,9 @@ void *malloc_debug(u32 size, const char *file, int line, const char *func, const (void)line; (void)func; (void)inp; - /* FUNC(PREFIX "MALLOC\t%s:%d: %s: 0x%x %dB (%s)\n", file, line, func, ret, size, inp); */ + /* #ifdef KERNEL */ + /* FUNC(PREFIX "MALLOC\t%s:%d: %s: 0x%x %dB (%s)\n", file, line, func, ret, size, inp); */ + /* #endif */ return ret; } @@ -415,5 +417,7 @@ void free_debug(void *ptr, const char *file, int line, const char *func, const c (void)line; (void)func; (void)inp; - /* FUNC(PREFIX "FREE\t%s:%d: %s: 0x%x (%s)\n", file, line, func, ptr, inp); */ + /* #ifdef KERNEL */ + /* FUNC(PREFIX "FREE\t%s:%d: %s: 0x%x (%s)\n", file, line, func, ptr, inp); */ + /* #endif */ } -- cgit v1.2.3