From 68c70be9602be6ae2e8f5a5367b6fa874a3c9de1 Mon Sep 17 00:00:00 2001 From: degasus Date: Wed, 4 Feb 2015 20:19:16 +0100 Subject: HotKey: fix warnings --- Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp') diff --git a/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp b/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp index a78c7b013c..3da0253581 100644 --- a/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp +++ b/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp @@ -41,7 +41,7 @@ struct ShapePosition }; // regular octagon -void DrawOctagon(wxDC* dc, ShapePosition p) +static void DrawOctagon(wxDC* dc, ShapePosition p) { const int vertices = 8; double radius = p.max; @@ -63,7 +63,7 @@ void DrawOctagon(wxDC* dc, ShapePosition p) } // irregular dodecagon -void DrawDodecagon(wxDC* dc, ShapePosition p) +static void DrawDodecagon(wxDC* dc, ShapePosition p) { const int vertices = 12; @@ -108,7 +108,7 @@ static void DrawCoordinate(wxDC &dc, ControlState x, ControlState y) DrawCenteredRectangle(dc, xc, yc, COORD_VIS_SIZE, COORD_VIS_SIZE); } -void DrawButton(unsigned int* const bitmasks, unsigned int buttons, unsigned int n, wxDC& dc, ControlGroupBox* g, unsigned int row) +static void DrawButton(unsigned int* const bitmasks, unsigned int buttons, unsigned int n, wxDC& dc, ControlGroupBox* g, unsigned int row) { if (buttons & bitmasks[(row * 8) + n]) { -- cgit v1.2.3