aboutsummaryrefslogtreecommitdiff
path: root/libc/print.c
diff options
context:
space:
mode:
authorMarvin Borner2021-02-26 21:05:42 +0100
committerMarvin Borner2021-02-26 21:05:42 +0100
commit50123cd5368602f68b9650890735947eb7ec501e (patch)
treef78117baf425b341fd5c8fd38ccdfd9528d236f3 /libc/print.c
parentdc3ae2d551ed9e427d5a99739ec30e97749bd5bc (diff)
Removed serial driver from userspace
Diffstat (limited to 'libc/print.c')
-rw-r--r--libc/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/print.c b/libc/print.c
index ef51e1f..91ecf8f 100644
--- a/libc/print.c
+++ b/libc/print.c
@@ -6,7 +6,6 @@
#include <cpu.h>
#include <def.h>
#include <mem.h>
-#include <serial.h>
#include <str.h>
static void append(char *dest, char *src, int index)
@@ -160,6 +159,7 @@ int print(const char *str)
// The kernel prints everything into the serial console
#include <proc.h>
+#include <serial.h>
#define RED "\x1B[1;31m"
#define GRN "\x1B[1;32m"
#define YEL "\x1B[1;33m"