summaryrefslogtreecommitdiff
path: root/src/user/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib')
-rw-r--r--src/user/lib/esemaphore.c4
-rw-r--r--src/user/lib/fs/misc.c4
-rw-r--r--src/user/lib/fs/misc.h2
-rw-r--r--src/user/lib/malloc.c2
-rw-r--r--src/user/lib/stdlib.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/user/lib/esemaphore.c b/src/user/lib/esemaphore.c
index 2fdd659..1230274 100644
--- a/src/user/lib/esemaphore.c
+++ b/src/user/lib/esemaphore.c
@@ -1,7 +1,7 @@
-#include <user/lib/esemaphore.h>
-#include <user/lib/stdlib.h>
#include <shared/flags.h>
#include <shared/syscalls.h>
+#include <user/lib/esemaphore.h>
+#include <user/lib/stdlib.h>
void esem_signal(struct evil_sem *sem) {
_syscall_write(sem->signal, NULL, 0, 0);
diff --git a/src/user/lib/fs/misc.c b/src/user/lib/fs/misc.c
index 9522cfa..3631e35 100644
--- a/src/user/lib/fs/misc.c
+++ b/src/user/lib/fs/misc.c
@@ -1,9 +1,9 @@
-#include <user/lib/fs/misc.h>
-#include <user/lib/stdlib.h>
#include <shared/flags.h>
#include <shared/mem.h>
#include <shared/syscalls.h>
#include <stdbool.h>
+#include <user/lib/fs/misc.h>
+#include <user/lib/stdlib.h>
bool fork2_n_mount(const char *path) {
handle_t h;
diff --git a/src/user/lib/fs/misc.h b/src/user/lib/fs/misc.h
index 3a8b071..1e41956 100644
--- a/src/user/lib/fs/misc.h
+++ b/src/user/lib/fs/misc.h
@@ -1,6 +1,6 @@
#pragma once
-#include <user/lib/stdlib.h>
#include <stdbool.h>
+#include <user/lib/stdlib.h>
bool fork2_n_mount(const char *path);
diff --git a/src/user/lib/malloc.c b/src/user/lib/malloc.c
index 5157e91..40ae917 100644
--- a/src/user/lib/malloc.c
+++ b/src/user/lib/malloc.c
@@ -1,7 +1,7 @@
-#include <user/lib/malloc.h>
#include <shared/flags.h>
#include <shared/syscalls.h>
#include <stdbool.h>
+#include <user/lib/malloc.h>
#include <user/lib/stdlib.h>
diff --git a/src/user/lib/stdlib.c b/src/user/lib/stdlib.c
index 56b8bb4..e947486 100644
--- a/src/user/lib/stdlib.c
+++ b/src/user/lib/stdlib.c
@@ -1,6 +1,6 @@
-#include <user/lib/stdlib.h>
#include <shared/printf.h>
#include <shared/syscalls.h>
+#include <user/lib/stdlib.h>
// TODO oh god this garbage - malloc, actually open, [...]
static libc_file _stdin_null = { .fd = 0 };