diff options
| author | _ov4 <ov4@ov4.org> | 2026-08-31 07:33:20 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-08-31 07:33:20 +0000 |
| commit | 3630075d034a69826c380e5cb70301d5b97557d3 (patch) | |
| tree | b48bd48b78476ae4d7243773598f51377f530b2e /src | |
| parent | b404880177a4eb9419a65fdf2536e42df36d524d (diff) | |
eval
Diffstat (limited to 'src')
| -rw-r--r-- | src/global.cc | 3 | ||||
| -rw-r--r-- | src/main.cc | 8 |
2 files changed, 3 insertions, 8 deletions
diff --git a/src/global.cc b/src/global.cc index e2a17ab..5b92331 100644 --- a/src/global.cc +++ b/src/global.cc @@ -3,6 +3,9 @@ namespace ov4 { +using namespace std; + int verbose = 0; +vector<string> builtin_cmd_list = {"quit", "fg", "bg", "jobs"}; } diff --git a/src/main.cc b/src/main.cc index 4d89e6e..f6c5477 100644 --- a/src/main.cc +++ b/src/main.cc @@ -50,14 +50,6 @@ char sbuf[MAXLINE]; /* for composing sprintf messages */ - -vector<string> builtin_cmd_list = {"quit", "fg", "bg", "jobs"}; -/* End global variables */ - - -/* Function prototypes */ - -/* Here are the functions that you will implement */ void eval(char *cmdline); int builtin_cmd(char *c_str); |
