aboutsummaryrefslogtreecommitdiff
path: root/libc/inc/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inc/mem.h')
-rw-r--r--libc/inc/mem.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libc/inc/mem.h b/libc/inc/mem.h
index e35ee62..216b939 100644
--- a/libc/inc/mem.h
+++ b/libc/inc/mem.h
@@ -11,11 +11,7 @@ void *malloc_debug(u32 size, const char *file, int line, const char *func, const
void free_debug(void *ptr, const char *file, int line, const char *func, const char *inp);
#define malloc(size) malloc_debug(size, __FILE__, __LINE__, __func__, #size)
#define free(ptr) free_debug(ptr, __FILE__, __LINE__, __func__, #ptr)
-
-/* void *_malloc(u32 size); */
-/* void _free(void *ptr); */
-/* #define malloc(size) _malloc(size) */
-/* #define free(ptr) _free(ptr) */
+void *zalloc(u32 size);
#ifdef kernel
void heap_init(u32 start);