diff options
author | dzwdz | 2022-08-11 22:39:12 +0200 |
---|---|---|
committer | dzwdz | 2022-08-11 22:39:12 +0200 |
commit | d170ceb6c9f26f222558012ccbb75614ec2a6b8f (patch) | |
tree | c7f41a46109ee6e4dd237a94184cc1c9c1815996 /src/user | |
parent | 162395700b100943eb019ce2b363f4d6ed03ab1a (diff) |
shared/header: don't mix kinds of declarations between headers
syscalls.h shouldn't define a random struct etc
Diffstat (limited to 'src/user')
-rw-r--r-- | src/user/app/shell/shell.c | 1 | ||||
-rw-r--r-- | src/user/app/tests/kernel/fs.c | 1 | ||||
-rw-r--r-- | src/user/app/tests/kernel/misc.c | 1 | ||||
-rw-r--r-- | src/user/app/tmpfs/tmpfs.c | 1 | ||||
-rw-r--r-- | src/user/lib/file.c | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/src/user/app/shell/shell.c b/src/user/app/shell/shell.c index 0f97d7a..0c92410 100644 --- a/src/user/app/shell/shell.c +++ b/src/user/app/shell/shell.c @@ -1,5 +1,6 @@ #include "builtins.h" #include "shell.h" +#include <camellia/flags.h> #include <camellia/syscalls.h> #include <errno.h> #include <stdbool.h> diff --git a/src/user/app/tests/kernel/fs.c b/src/user/app/tests/kernel/fs.c index c8d2eae..d11775a 100644 --- a/src/user/app/tests/kernel/fs.c +++ b/src/user/app/tests/kernel/fs.c @@ -1,4 +1,5 @@ #include "../tests.h" +#include <camellia/flags.h> #include <camellia/syscalls.h> static void test_unfinished_req(void) { diff --git a/src/user/app/tests/kernel/misc.c b/src/user/app/tests/kernel/misc.c index 6899e18..01e041d 100644 --- a/src/user/app/tests/kernel/misc.c +++ b/src/user/app/tests/kernel/misc.c @@ -1,5 +1,6 @@ #include "../tests.h" #include <camellia/errno.h> +#include <camellia/flags.h> #include <camellia/syscalls.h> #include <string.h> diff --git a/src/user/app/tmpfs/tmpfs.c b/src/user/app/tmpfs/tmpfs.c index 9bc3d6c..401bab3 100644 --- a/src/user/app/tmpfs/tmpfs.c +++ b/src/user/app/tmpfs/tmpfs.c @@ -1,3 +1,4 @@ +#include <camellia/flags.h> #include <camellia/fsutil.h> #include <camellia/syscalls.h> #include <errno.h> diff --git a/src/user/lib/file.c b/src/user/lib/file.c index 080217c..c8acbfb 100644 --- a/src/user/lib/file.c +++ b/src/user/lib/file.c @@ -1,5 +1,6 @@ #include "file.h" #include <camellia/syscalls.h> +#include <camellia/flags.h> #include <errno.h> #include <stdio.h> #include <stdlib.h> |