tools: put all host-side code into host_tool namespace
To avoid confusion and organize the code itself more cleanly, place the
host-side code into its own namespace.
Change-Id: I573eb0494eb59874adb1d1eadc502499e928e396
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/tools/crc.cpp b/tools/crc.cpp
index 4ed307b..e8083eb 100644
--- a/tools/crc.cpp
+++ b/tools/crc.cpp
@@ -1,5 +1,8 @@
#include "crc.hpp"
+namespace host_tool
+{
+
/*
* This implementation tracks the specification given at
* http://srecord.sourceforge.net/crc16-ccitt.html
@@ -37,3 +40,5 @@
return crc;
}
+
+} // namespace host_tool