inline make_sysfs_path
Prevent multiple definitions.
Change-Id: Ic394ced72f6eb2b21800b39be772dc4f9f0e8b2d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/sysfs.hpp b/sysfs.hpp
index 3a51a29..b9148da 100644
--- a/sysfs.hpp
+++ b/sysfs.hpp
@@ -17,10 +17,10 @@
s << val;
}
-const std::string make_sysfs_path(const std::string& path,
- const std::string& type,
- const std::string& id,
- const std::string& entry)
+inline const std::string make_sysfs_path(const std::string& path,
+ const std::string& type,
+ const std::string& id,
+ const std::string& entry)
{
using namespace std::literals;