summaryrefslogtreecommitdiff
path: root/init/util.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2017-06-23 23:19:53 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-06-23 23:19:53 +0000
commitb57e1180e36e44b78f45c03d98d62c22754d591c (patch)
treed87252e55756a56380cde35c6fbca9042b1c7723 /init/util.cpp
parent56f021f0a40a88cfa98c432f8ee4f43e25e301df (diff)
parentd3d79b21968139b135ca24b13dd400494fe73965 (diff)
Merge "init: create android::init:: namespace" am: 040212706b
am: d3d79b2196 Change-Id: I3dccff251dda7d7452e33a7e71178c59f0c22169
Diffstat (limited to 'init/util.cpp')
-rw-r--r--init/util.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/init/util.cpp b/init/util.cpp
index 75f81b946..4b1894f8c 100644
--- a/init/util.cpp
+++ b/init/util.cpp
@@ -50,6 +50,9 @@
using android::base::boot_clock;
using namespace std::literals::string_literals;
+namespace android {
+namespace init {
+
// DecodeUid() - decodes and returns the given string, which can be either the
// numeric or name representation, into the integer uid or gid. Returns
// UINT_MAX on error.
@@ -397,3 +400,6 @@ bool is_android_dt_value_expected(const std::string& sub_path, const std::string
}
return false;
}
+
+} // namespace init
+} // namespace android