Return code cleanup
Moved attention handler return codes to hpp file and removed their
usage in the analyzer code since technically the analyzer is a
seperate library.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I57eb66330bf0db40edb6e2b1994c1c7e062c1744
diff --git a/analyzer/analyzer_main.cpp b/analyzer/analyzer_main.cpp
index 327dd1c..8de5924 100644
--- a/analyzer/analyzer_main.cpp
+++ b/analyzer/analyzer_main.cpp
@@ -7,7 +7,7 @@
{
/** Analyze error condition using the hardware error isolator */
-int analyzeHardware(std::map<std::string, std::string>& i_errors)
+bool analyzeHardware(std::map<std::string, std::string>& i_errors)
{
using namespace libhei;
@@ -37,7 +37,7 @@
// FIXME TEMP CODE - end
- return 0; // FIXME - error/success from isolator or isolation data
+ return true; // FIXME - error/success from isolator or isolation data
}
} // namespace analyzer
diff --git a/analyzer/analyzer_main.hpp b/analyzer/analyzer_main.hpp
index c7284ea..922179f 100644
--- a/analyzer/analyzer_main.hpp
+++ b/analyzer/analyzer_main.hpp
@@ -13,6 +13,6 @@
* component that caused the error(s).
*/
-int analyzeHardware(std::map<std::string, std::string>& i_errors);
+bool analyzeHardware(std::map<std::string, std::string>& i_errors);
} // namespace analyzer