aboutsummaryrefslogtreecommitdiff
path: root/src/lib/inc/def.h
diff options
context:
space:
mode:
authorMarvin Borner2020-07-23 13:10:22 +0200
committerMarvin Borner2020-07-23 13:10:22 +0200
commit99e183a2f569729d722d83503cb851d6198fc1fe (patch)
tree21e48da4f0220022d17b420de0bf771a97985293 /src/lib/inc/def.h
parentfa00718c221b64070067bcd64acbc297e4ac699c (diff)
Some functions for stdlib
Diffstat (limited to 'src/lib/inc/def.h')
-rw-r--r--src/lib/inc/def.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/inc/def.h b/src/lib/inc/def.h
index 409c0b3..42939a0 100644
--- a/src/lib/inc/def.h
+++ b/src/lib/inc/def.h
@@ -24,14 +24,5 @@ typedef unsigned long long u64;
*/
#define NULL ((void *)0)
-#define malloc(n) ((void *)((HEAP += n) - n)) // TODO: Implement real/better malloc/free
-#define free(x)
-
-/**
- * Heap
- */
-
-extern u32 HEAP;
-extern u32 HEAP_START;
#endif