Shell: Move everything to the Shell namespace

Also provide a basic default-constructor.
This commit is contained in:
AnotherTest 2020-10-01 18:13:01 +03:30 committed by Andreas Kling
commit f164b808b5
Notes: sideshowbarker 2024-07-19 02:03:08 +09:00
17 changed files with 115 additions and 17 deletions

View file

@ -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;
}
}