move getEnv methods into env namespace
Move the getEnv(...) methods into the env namespace,
for consistency.
Change-Id: I4055d9456c17f8b20071cdee1b8e531c10fb0c7e
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/env.cpp b/env.cpp
index ab4b35c..09dd985 100644
--- a/env.cpp
+++ b/env.cpp
@@ -20,6 +20,8 @@
#include "env.hpp"
#include "hwmon.hpp"
+namespace env {
+
std::string getEnv(
const char* prefix, const SensorSet::key_type& sensor)
{
@@ -76,4 +78,6 @@
return content;
}
+} // namespace env
+
// vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4