build: fix -Wmissing-prototype
This helps make the author's original intent clear. Tested by building
and running the unit tests with clang.
Change-Id: If0231ec5634adad0b61e7fcff8ec1e5bcbbb92c1
Signed-off-by: Brad Bishop <bradbish@qti.qualcomm.com>
diff --git a/src/handler.cpp b/src/handler.cpp
index 89c9913..af8ef90 100644
--- a/src/handler.cpp
+++ b/src/handler.cpp
@@ -346,7 +346,7 @@
// This function works like getSubTreePaths() but only matching id with
// the leaf-name instead of full path.
-std::vector<std::string> getSubTreePathsById(
+static std::vector<std::string> getSubTreePathsById(
const InterfaceMapType& interfaceMap, const std::string& id,
const std::string& objectPath, std::vector<std::string>& interfaces)
{