build: fix -Wmissing-variable-declarations

This helps make the author's original intent clear.  Tested by building
and running the unit tests with clang.

Change-Id: Iaf0aca72b5a8cc931bcb84c27df1c55d2f438dda
Signed-off-by: Brad Bishop <bradbish@qti.qualcomm.com>
diff --git a/src/main.cpp b/src/main.cpp
index 3bd529a..16493b1 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -20,7 +20,7 @@
 #include <string_view>
 #include <utility>
 
-AssociationMaps associationMaps;
+static AssociationMaps associationMaps;
 
 void updateOwners(sdbusplus::asio::connection* conn,
                   boost::container::flat_map<std::string, std::string>& owners,
diff --git a/src/test/util/asio_server_class.hpp b/src/test/util/asio_server_class.hpp
index 9526375..fe30e46 100644
--- a/src/test/util/asio_server_class.hpp
+++ b/src/test/util/asio_server_class.hpp
@@ -4,7 +4,7 @@
 #include <sdbusplus/asio/object_server.hpp>
 
 /* @brief Will contain path and name of test application */
-const char* appname = program_invocation_name;
+inline const char* appname = program_invocation_name;
 
 #include <gtest/gtest.h>
 /** @class AsioServerClassTest