aboutsummaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/malloc.c b/malloc.c
index 3ab95ed..c8d865b 100644
--- a/malloc.c
+++ b/malloc.c
@@ -1,10 +1,8 @@
#include <inttypes.h>
#include "string.h"
+#include "bios.h"
-extern uint8_t edata;
static uint8_t *fseg_base = &edata;
-
-extern uint8_t stext;
static uint8_t *malloc_top = &stext;
void *malloc(int n)