mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
mark all local functions as static
This commit is contained in:
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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";
|
||||
|
Reference in New Issue
Block a user