diff options
author | AnotherTest <ali.mpfard@gmail.com> | 2020-10-01 18:13:01 +0330 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-10-04 23:12:28 +0200 |
commit | f164b808b5a6ed69f6fd0aea8ee0c88f4d377a24 (patch) | |
tree | 180ae499ba8787543d8921d3ad7b535a3518696b /Shell/Builtin.cpp | |
parent | 34039d663925670e011db2cc6e96a120a667308a (diff) | |
download | serenity-f164b808b5a6ed69f6fd0aea8ee0c88f4d377a24.zip |
Shell: Move everything to the Shell namespace
Also provide a basic default-constructor.
Diffstat (limited to 'Shell/Builtin.cpp')
-rw-r--r-- | Shell/Builtin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Shell/Builtin.cpp b/Shell/Builtin.cpp index cae341ed4d..ee71a4e6db 100644 --- a/Shell/Builtin.cpp +++ b/Shell/Builtin.cpp @@ -35,6 +35,8 @@ extern char** environ; +namespace Shell { + int Shell::builtin_alias(int argc, const char** argv) { Vector<const char*> arguments; @@ -806,3 +808,5 @@ bool Shell::has_builtin(const StringView& name) const #undef __ENUMERATE_SHELL_BUILTIN return false; } + +} |