From c345e2284eb5d9bb64fbec448b74cad51c87a058 Mon Sep 17 00:00:00 2001 From: kamkow1 Date: Thu, 2 Oct 2025 22:33:08 +0200 Subject: [PATCH] pctl Remove unnecessary header files --- user/pctl/kill.c | 1 - user/pctl/kill.h | 6 ------ user/pctl/ls.c | 1 - user/pctl/ls.h | 6 ------ user/pctl/main.c | 5 +++-- 5 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 user/pctl/kill.h delete mode 100644 user/pctl/ls.h diff --git a/user/pctl/kill.c b/user/pctl/kill.c index 359b554..954e6a6 100644 --- a/user/pctl/kill.c +++ b/user/pctl/kill.c @@ -1,7 +1,6 @@ #include #include #include -#include "kill.h" #include "macros.h" struct { diff --git a/user/pctl/kill.h b/user/pctl/kill.h deleted file mode 100644 index 754f71f..0000000 --- a/user/pctl/kill.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef PCTL_KILL_H_ -#define PCTL_KILL_H_ - -void pctl_kill(void); - -#endif // PCTL_KILL_H_ diff --git a/user/pctl/ls.c b/user/pctl/ls.c index 2152e00..6de3281 100644 --- a/user/pctl/ls.c +++ b/user/pctl/ls.c @@ -1,7 +1,6 @@ #include #include #include -#include "ls.h" #include "macros.h" struct { diff --git a/user/pctl/ls.h b/user/pctl/ls.h deleted file mode 100644 index 5423c4b..0000000 --- a/user/pctl/ls.h +++ /dev/null @@ -1,6 +0,0 @@ -#ifndef PCTL_LS_H_ -#define PCTL_LS_H_ - -void pctl_ls(void); - -#endif // PCTL_LS_H_ diff --git a/user/pctl/main.c b/user/pctl/main.c index 01f0bfa..8f099fe 100644 --- a/user/pctl/main.c +++ b/user/pctl/main.c @@ -1,8 +1,9 @@ #include #include #include -#include "ls.h" -#include "kill.h" + +extern void pctl_ls(void); +extern void pctl_kill(void); void main(void) { if (argslen() == 0) {