From 370a3f5cc9e39352a081e5d5dd8c43676547a6e6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 4 Oct 2012 11:45:44 +1000 Subject: code cleanup: add own includes to cpp files or make the functions static if they are not used elsewhere. (bzr r11735) --- src/device-manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/device-manager.cpp') diff --git a/src/device-manager.cpp b/src/device-manager.cpp index 059e1b52d..5c7048613 100644 --- a/src/device-manager.cpp +++ b/src/device-manager.cpp @@ -113,7 +113,7 @@ static std::map &getStringToAxis() return mapping; } -std::map &getAxisToString() +static std::map &getAxisToString() { static bool init = false; static std::map mapping; @@ -139,7 +139,7 @@ static std::map &getStringToMode() return mapping; } -std::map &getModeToString() +static std::map &getModeToString() { static bool init = false; static std::map mapping; -- cgit v1.2.3