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) {