Change scope of auto-generated build info header

Changes had to be made in libhei to make the build information header
more portable. These changes are in reaction to that.

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Ifeb04f302d850446eff42ae66c2b29b1693c5889
diff --git a/analyzer/analyzer_main.cpp b/analyzer/analyzer_main.cpp
index d4ad726..5295725 100644
--- a/analyzer/analyzer_main.cpp
+++ b/analyzer/analyzer_main.cpp
@@ -223,14 +223,4 @@
 
 //------------------------------------------------------------------------------
 
-/**
- * @brief Get error isolator build information
- *
- * @return Pointer to build information
- */
-const char* getBuildInfo()
-{
-    return libhei::getBuildInfo();
-}
-
 } // namespace analyzer
diff --git a/analyzer/analyzer_main.hpp b/analyzer/analyzer_main.hpp
index 96de902..e0830e1 100644
--- a/analyzer/analyzer_main.hpp
+++ b/analyzer/analyzer_main.hpp
@@ -45,11 +45,4 @@
  */
 uint32_t analyzeHardware(AnalysisType i_type, attn::DumpParameters& o_dump);
 
-/**
- * @brief Get error analyzer build information
- *
- * @return Pointer to build information
- */
-const char* getBuildInfo();
-
 } // namespace analyzer
diff --git a/main_nl.cpp b/main_nl.cpp
index ff71fd8..d4d4a99 100644
--- a/main_nl.cpp
+++ b/main_nl.cpp
@@ -8,6 +8,7 @@
 #include <attn/attn_main.hpp>
 #include <buildinfo.hpp>
 #include <cli.hpp>
+#include <hei_buildinfo.hpp>
 #include <util/pdbg_callback.hpp>
 
 /**
@@ -34,7 +35,7 @@
         printf("options:\n");
         printf("  --analyze:              Analyze the hardware\n");
         printf("  --daemon:               Start the attn handler daemon\n");
-        printf("hwdiag: %s, hei: %s\n", BUILDINFO, analyzer::getBuildInfo());
+        printf("hwdiag: %s, hei: %s\n", BUILDINFO, libhei::getBuildInfo());
     }
     else
     {