diff options
author | Marvin Borner | 2021-02-14 17:07:29 +0100 |
---|---|---|
committer | Marvin Borner | 2021-02-14 17:07:29 +0100 |
commit | 1287f9dfe987f0456e4fb0741385d5f0278ef53b (patch) | |
tree | 64d3da484a4d186a725779f20d339432d51f441a /libc/inc/mem.h | |
parent | bc4e62f629a392e1a4cf204665e91c57f4e619b2 (diff) |
Message waiting and more!
Diffstat (limited to 'libc/inc/mem.h')
-rw-r--r-- | libc/inc/mem.h | 6 |
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); |