summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2014-07-08 14:29:26 +0200
committerdegasus <wickmarkus@web.de>2014-07-11 16:07:23 +0200
commit22e1aa5bb4a159d6d66a321f978917614aa36331 (patch)
tree5f1ec329704dd6120cfb5966dba76387ad1bbc2f /Source/Core/InputCommon
parent3ff1c538ee20f59e513640865bab8fb430e70e84 (diff)
mark all local functions as static
Diffstat (limited to 'Source/Core/InputCommon')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp2
-rw-r--r--Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp2
-rw-r--r--Source/Core/InputCommon/UDPWrapper.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp b/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp
index c41e82b699..2261a5df98 100644
--- a/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp
@@ -535,7 +535,7 @@ Expression::~Expression()
delete node;
}
-ExpressionParseStatus ParseExpressionInner(std::string str, ControlFinder &finder, Expression **expr_out)
+static ExpressionParseStatus ParseExpressionInner(std::string str, ControlFinder &finder, Expression **expr_out)
{
ExpressionParseStatus status;
Expression *expr;
diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
index 4b738d4dbf..c43cd255e8 100644
--- a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp
@@ -18,7 +18,7 @@ namespace ciface
namespace SDL
{
-std::string GetJoystickName(int index)
+static std::string GetJoystickName(int index)
{
#if SDL_VERSION_ATLEAST(2, 0, 0)
return SDL_JoystickNameForIndex(index);
diff --git a/Source/Core/InputCommon/UDPWrapper.cpp b/Source/Core/InputCommon/UDPWrapper.cpp
index eeba3bbafd..5d34cd7624 100644
--- a/Source/Core/InputCommon/UDPWrapper.cpp
+++ b/Source/Core/InputCommon/UDPWrapper.cpp
@@ -8,7 +8,7 @@
#include "InputCommon/UDPWrapper.h"
-const std::string DefaultPort(const int index)
+static const std::string DefaultPort(const int index)
{
static std::string s;
s = "443";