aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/global.cc3
-rw-r--r--src/main.cc8
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);