aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/lib')
-rw-r--r--src/kernel/lib/memory.c1
-rw-r--r--src/kernel/lib/stdio/vprintf.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/kernel/lib/memory.c b/src/kernel/lib/memory.c
index 40f6a1f..75f7870 100644
--- a/src/kernel/lib/memory.c
+++ b/src/kernel/lib/memory.c
@@ -122,7 +122,6 @@ int memory_init()
void bss_clean()
{
- extern u8 bss_start, kernel_end;
u32 start = &bss_start;
u32 end = &kernel_end;
log("0x%x: 0x%x", start, end - start);
diff --git a/src/kernel/lib/stdio/vprintf.c b/src/kernel/lib/stdio/vprintf.c
index 3c4ecac..5405309 100644
--- a/src/kernel/lib/stdio/vprintf.c
+++ b/src/kernel/lib/stdio/vprintf.c
@@ -1,6 +1,6 @@
+#include <lib/lib.h>
#include <lib/stdio.h>
#include <lib/stdlib.h>
-#include <lib/lib.h>
#include <stdint.h>
// TODO: Use global formatting function