diff options
| author | _ov4 <ov4@ov4.org> | 2026-09-01 05:54:21 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-09-01 05:54:21 +0000 |
| commit | f206526c58e7c116f182c4b4dc2ce4d825fd6659 (patch) | |
| tree | fc5fce24565b431c4a33696bdcff589fe4dc5864 /include/command | |
| parent | 30726f56c8c522e81e65055ada52f56d95f68575 (diff) | |
refactor builtin commands
Diffstat (limited to 'include/command')
| -rw-r--r-- | include/command/builtin.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/command/builtin.h b/include/command/builtin.h index f90c9bf..49a8e13 100644 --- a/include/command/builtin.h +++ b/include/command/builtin.h @@ -5,6 +5,9 @@ #include <array> #include <cstring> #include <iostream> +#include <map> +#include <unordered_map> +#include <functional> namespace ov4 { @@ -18,10 +21,10 @@ bool exe_bultin_command(char **argv); namespace ov4::command { -void quit(); -void jobs(); +void quit(char **argv); +void jobs(char **argv); void bg(char **argv); void fg(char **argv); -void exit(); +void exit(char **argv); } |
