diff options
-rw-r--r-- | src/cmd/tests/tests.c | 1 | ||||
-rw-r--r-- | src/kernel/syscalls.c | 6 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/cmd/tests/tests.c b/src/cmd/tests/tests.c index ce28eb3..2b7ba01 100644 --- a/src/cmd/tests/tests.c +++ b/src/cmd/tests/tests.c @@ -1,4 +1,5 @@ #include "tests.h" +#include <camellia/compat.h> #include <camellia/syscalls.h> #include <sys/wait.h> #include <unistd.h> diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index c5a2f50..e449953 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -350,12 +350,6 @@ void _sys_sleep(long ms) { timer_schedule(proc_cur, ms * 1000000); } -void _sys_filicide(void) { - for (Proc *p = proc_cur->child; p; p = proc_next(p, proc_cur)) { - proc_kill(p, -1); - } -} - int _sys_intr(const char __user *msg, size_t len) { char buf[INTR_MAX]; int count = 0; |