summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-08 02:01:13 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-08 02:13:12 +0300
commitaa0e715fe63eed2795944fda68ab64270b51453b (patch)
tree7b9a70421df310db51efd38c8d9ba63b6355e412 /src/gui
parent69a1bbcd0c2170975556bfe495e1f169fd6c7726 (diff)
downloadplus-aa0e715fe63eed2795944fda68ab64270b51453b.tar.gz
plus-aa0e715fe63eed2795944fda68ab64270b51453b.tar.bz2
plus-aa0e715fe63eed2795944fda68ab64270b51453b.tar.xz
plus-aa0e715fe63eed2795944fda68ab64270b51453b.zip
Remove useless extern declarations.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/viewport.cpp1
-rw-r--r--src/gui/widgets/browserbox_unittest.cc2
-rw-r--r--src/gui/widgets/tabs/setup_joystick.cpp2
-rw-r--r--src/gui/widgets/tabs/setup_video.cpp2
4 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp
index 3fb80fd33..28d66975d 100644
--- a/src/gui/viewport.cpp
+++ b/src/gui/viewport.cpp
@@ -61,7 +61,6 @@
Viewport *viewport = nullptr;
extern volatile int tick_time;
-extern MiniStatusWindow *miniStatusWindow;
Viewport::Viewport() :
WindowContainer(nullptr),
diff --git a/src/gui/widgets/browserbox_unittest.cc b/src/gui/widgets/browserbox_unittest.cc
index f4a27c1e8..b3f536452 100644
--- a/src/gui/widgets/browserbox_unittest.cc
+++ b/src/gui/widgets/browserbox_unittest.cc
@@ -47,7 +47,7 @@
#include "debug.h"
-extern const char *dirSeparator;
+
TEST_CASE("BrowserBox leak test1", "")
{
diff --git a/src/gui/widgets/tabs/setup_joystick.cpp b/src/gui/widgets/tabs/setup_joystick.cpp
index 12cf331a0..490205b4b 100644
--- a/src/gui/widgets/tabs/setup_joystick.cpp
+++ b/src/gui/widgets/tabs/setup_joystick.cpp
@@ -40,8 +40,6 @@
#include "debug.h"
-extern Joystick *joystick;
-
Setup_Joystick::Setup_Joystick(const Widget2 *const widget) :
SetupTab(widget),
mCalibrateLabel(new Label(this,
diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp
index b11b20f39..785ab5a33 100644
--- a/src/gui/widgets/tabs/setup_video.cpp
+++ b/src/gui/widgets/tabs/setup_video.cpp
@@ -61,8 +61,6 @@
#include "debug.h"
-extern Graphics *mainGraphics;
-
Setup_Video::Setup_Video(const Widget2 *const widget) :
SetupTab(widget),
KeyListener(),