From ed591187a1b8137b5ef04bdfec3ba68d9d283259 Mon Sep 17 00:00:00 2001 From: pjht Date: Sat, 30 Mar 2019 10:39:26 -0500 Subject: [PATCH] Files now do not reference libc paths directly --- drivers/i386/serial.c | 6 +++--- kernel/vfs.h | 2 +- libc/devbuf.c | 6 +++--- libc/stdlib.c | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/i386/serial.c b/drivers/i386/serial.c index e2dd302..db9582f 100644 --- a/drivers/i386/serial.c +++ b/drivers/i386/serial.c @@ -1,9 +1,9 @@ #include "../../cpu/i386/ports.h" #include "../../cpu/i386/isr.h" #include "../serial.h" -#include "../../libc/stdio.h" -#include "../../libc/string.h" -#include "../../libc/devbuf.h" +#include +#include +#include #include "../vga.h" #include "../../fs/devfs.h" #include diff --git a/kernel/vfs.h b/kernel/vfs.h index 3deaa34..6c715c1 100644 --- a/kernel/vfs.h +++ b/kernel/vfs.h @@ -1,7 +1,7 @@ #ifndef VFS_H #define VFS_H #include -#include "../libc/stdio.h" +#include typedef enum { FSOP_MOUNT, diff --git a/libc/devbuf.c b/libc/devbuf.c index 986b0f8..9207246 100644 --- a/libc/devbuf.c +++ b/libc/devbuf.c @@ -1,6 +1,6 @@ -#include "devbuf.h" -#include "stdlib.h" -#include "stdio.h" +#include +#include +#include devbuf* devbuf_init() { devbuf* buf=malloc(sizeof(devbuf)); diff --git a/libc/stdlib.c b/libc/stdlib.c index d16d375..bc7c702 100644 --- a/libc/stdlib.c +++ b/libc/stdlib.c @@ -1,6 +1,6 @@ -#include "string.h" -#include "stdlib.h" -#include "math.h" +#include +#include +#include #include #include