From 0ccb8c094d6a9757c172eac83d61c0ee56cc734f Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Wed, 7 Aug 2024 07:56:22 +0200 Subject: [PATCH] Removing unused includes --- user/forktest.c | 2 -- user/stressfs.c | 3 --- 2 files changed, 5 deletions(-) diff --git a/user/forktest.c b/user/forktest.c index 12ac3ae..fb05af0 100644 --- a/user/forktest.c +++ b/user/forktest.c @@ -1,8 +1,6 @@ // Test that fork fails gracefully. // Tiny executable so that the limit can be filling the proc table. -#include "kernel/types.h" -#include "kernel/stat.h" #include "user/user.h" #define N 1000 diff --git a/user/stressfs.c b/user/stressfs.c index 5f7154a..f842fc9 100644 --- a/user/stressfs.c +++ b/user/stressfs.c @@ -7,10 +7,7 @@ // for (i = 0; i < 40000; i++) // asm volatile(""); -#include "kernel/types.h" -#include "kernel/stat.h" #include "user/user.h" -#include "kernel/fs.h" #include "kernel/fcntl.h" int