diff options
author | dzwdz | 2023-08-29 23:35:03 +0200 |
---|---|---|
committer | dzwdz | 2023-08-29 23:35:03 +0200 |
commit | f71af249cfb9ca9eb0832cc46437b2c5cb7bb217 (patch) | |
tree | dcc5403d304547da397644b9d43e2bf8c67a0b3e /src/cmd | |
parent | dd385a413c92d53a1f792011e1029d7d68e19c6c (diff) |
kernel: remove _sys_await, emulate it in libc
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/init/driver/termcook.c | 1 | ||||
-rw-r--r-- | src/cmd/init/init.c | 1 | ||||
-rw-r--r-- | src/cmd/netdog/nd.c | 1 | ||||
-rw-r--r-- | src/cmd/netstack/netstack.c | 1 | ||||
-rw-r--r-- | src/cmd/shell/shell.c | 1 | ||||
-rw-r--r-- | src/cmd/tests/kernel/fdlimit.c | 1 | ||||
-rw-r--r-- | src/cmd/tests/kernel/misc.c | 1 | ||||
-rw-r--r-- | src/cmd/tests/kernel/miscsyscall.c | 1 | ||||
-rw-r--r-- | src/cmd/tests/kernel/threads.c | 1 | ||||
-rw-r--r-- | src/cmd/tests/libc/esemaphore.c | 1 | ||||
-rw-r--r-- | src/cmd/tests/stress.c | 1 |
11 files changed, 11 insertions, 0 deletions
diff --git a/src/cmd/init/driver/termcook.c b/src/cmd/init/driver/termcook.c index 68b5746..a0da8c3 100644 --- a/src/cmd/init/driver/termcook.c +++ b/src/cmd/init/driver/termcook.c @@ -1,4 +1,5 @@ #include "driver.h" +#include <camellia/compat.h> #include <camellia/syscalls.h> #include <err.h> #include <errno.h> diff --git a/src/cmd/init/init.c b/src/cmd/init/init.c index d221a7f..72b5c5a 100644 --- a/src/cmd/init/init.c +++ b/src/cmd/init/init.c @@ -1,4 +1,5 @@ #include "driver/driver.h" +#include <camellia/compat.h> #include <camellia/flags.h> #include <camellia/syscalls.h> #include <stdint.h> diff --git a/src/cmd/netdog/nd.c b/src/cmd/netdog/nd.c index af5c264..2caaab9 100644 --- a/src/cmd/netdog/nd.c +++ b/src/cmd/netdog/nd.c @@ -1,4 +1,5 @@ #include <camellia.h> +#include <camellia/compat.h> #include <camellia/syscalls.h> #include <stdio.h> #include <string.h> diff --git a/src/cmd/netstack/netstack.c b/src/cmd/netstack/netstack.c index 2636429..4cdf409 100644 --- a/src/cmd/netstack/netstack.c +++ b/src/cmd/netstack/netstack.c @@ -1,6 +1,7 @@ #include "proto.h" #include "util.h" #include <camellia.h> +#include <camellia/compat.h> #include <camellia/syscalls.h> #include <stdbool.h> #include <stddef.h> diff --git a/src/cmd/shell/shell.c b/src/cmd/shell/shell.c index 185aa7e..df239eb 100644 --- a/src/cmd/shell/shell.c +++ b/src/cmd/shell/shell.c @@ -1,5 +1,6 @@ #include "builtins.h" #include "shell.h" +#include <camellia/compat.h> #include <camellia/flags.h> #include <camellia/syscalls.h> #include <err.h> diff --git a/src/cmd/tests/kernel/fdlimit.c b/src/cmd/tests/kernel/fdlimit.c index f332357..9e1f9dc 100644 --- a/src/cmd/tests/kernel/fdlimit.c +++ b/src/cmd/tests/kernel/fdlimit.c @@ -1,4 +1,5 @@ #include "../tests.h" +#include <camellia/compat.h> #include <camellia/flags.h> #include <errno.h> #include <unistd.h> diff --git a/src/cmd/tests/kernel/misc.c b/src/cmd/tests/kernel/misc.c index 5d6b531..7fc0866 100644 --- a/src/cmd/tests/kernel/misc.c +++ b/src/cmd/tests/kernel/misc.c @@ -1,4 +1,5 @@ #include "../tests.h" +#include <camellia/compat.h> #include <camellia/errno.h> #include <camellia/flags.h> #include <camellia/syscalls.h> diff --git a/src/cmd/tests/kernel/miscsyscall.c b/src/cmd/tests/kernel/miscsyscall.c index 90da0e4..0518654 100644 --- a/src/cmd/tests/kernel/miscsyscall.c +++ b/src/cmd/tests/kernel/miscsyscall.c @@ -1,4 +1,5 @@ #include "../tests.h" +#include <camellia/compat.h> #include <camellia/errno.h> #include <camellia/execbuf.h> #include <camellia/flags.h> diff --git a/src/cmd/tests/kernel/threads.c b/src/cmd/tests/kernel/threads.c index b3c1c06..9b0a687 100644 --- a/src/cmd/tests/kernel/threads.c +++ b/src/cmd/tests/kernel/threads.c @@ -1,4 +1,5 @@ #include "../tests.h" +#include <camellia/compat.h> #include <camellia/flags.h> #include <camellia/syscalls.h> #include <string.h> diff --git a/src/cmd/tests/libc/esemaphore.c b/src/cmd/tests/libc/esemaphore.c index f089f4f..27bf108 100644 --- a/src/cmd/tests/libc/esemaphore.c +++ b/src/cmd/tests/libc/esemaphore.c @@ -1,4 +1,5 @@ #include "../tests.h" +#include <camellia/compat.h> #include <camellia/flags.h> #include <camellia/syscalls.h> #include <stdio.h> diff --git a/src/cmd/tests/stress.c b/src/cmd/tests/stress.c index 1ef018c..8e0186e 100644 --- a/src/cmd/tests/stress.c +++ b/src/cmd/tests/stress.c @@ -1,4 +1,5 @@ #include "tests.h" +#include <camellia/compat.h> #include <camellia/flags.h> #include <camellia/syscalls.h> #include <stdlib.h> |