init: create android::init:: namespace
With some small fixups along the way
Test: Boot bullhead
Test: init unit tests
Change-Id: I7beaa473cfa9397f845f810557d1631b4a462d6a
diff --git a/init/action.cpp b/init/action.cpp
index 206100e..6900391 100644
--- a/init/action.cpp
+++ b/init/action.cpp
@@ -24,6 +24,9 @@
using android::base::Join;
+namespace android {
+namespace init {
+
Command::Command(BuiltinFunction f, const std::vector<std::string>& args, int line)
: func_(f), args_(args), line_(line) {}
@@ -349,3 +352,6 @@
action_manager_->AddAction(std::move(action_));
}
}
+
+} // namespace init
+} // namespace android