From d170ceb6c9f26f222558012ccbb75614ec2a6b8f Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 11 Aug 2022 22:39:12 +0200 Subject: shared/header: don't mix kinds of declarations between headers syscalls.h shouldn't define a random struct etc --- src/user/app/shell/shell.c | 1 + src/user/app/tests/kernel/fs.c | 1 + src/user/app/tests/kernel/misc.c | 1 + src/user/app/tmpfs/tmpfs.c | 1 + src/user/lib/file.c | 1 + 5 files changed, 5 insertions(+) (limited to 'src/user') 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 #include #include #include 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 #include 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 +#include #include #include 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 #include #include #include 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 +#include #include #include #include -- cgit v1.2.3