BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / commit / 18495cfe1cf5f7fc6f6b0c8c12d7f34dfded1be0 / vfs / ext2fs

// Related

Nucleus

Barry System headers (remove libc dependency) 18495cf (3 years, 2 months ago)
diff --git a/vfs/ext2fs/file.c b/vfs/ext2fs/file.c
index a84da51..8d4e7a5 100644
--- a/vfs/ext2fs/file.c
+++ b/vfs/ext2fs/file.c
@@ -1,5 +1,5 @@
-#include <string.h>
-#include <errno.h>
+#include <sys/errno.h>
+#include <nucleus/lib.h>
 #include <nucleus/vfs.h>
 #include "ext2fs.h"
 
diff --git a/vfs/ext2fs/inode.c b/vfs/ext2fs/inode.c
index 2208ab6..5c39023 100644
--- a/vfs/ext2fs/inode.c
+++ b/vfs/ext2fs/inode.c
@@ -1,5 +1,5 @@
 #include <stdint.h>
-#include <string.h>
+#include <nucleus/lib.h>
 #include <nucleus/vfs.h>
 #include "ext2fs.h"
 
diff --git a/vfs/ext2fs/super.c b/vfs/ext2fs/super.c
index f7949f0..5983c95 100644
--- a/vfs/ext2fs/super.c
+++ b/vfs/ext2fs/super.c
@@ -1,8 +1,7 @@
-#include <unistd.h>
-#include <fcntl.h>
+#include <sys/errno.h>
+#include <sys/file.h>
 #include <sys/mount.h>
 #include <sys/stat.h>
-#include <errno.h>
 #include <nucleus/task.h>
 #include <nucleus/vfs.h>
 #include "ext2fs.h"