From e4485b01f8acb1cb3d4a2205a966c75c90b5425c Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 16 Jul 2022 15:12:06 +0200 Subject: [PATCH] - removed redundant extern declarations from platform code. --- src/common/platform/posix/cocoa/i_input.mm | 1 - src/common/platform/posix/sdl/i_input.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/src/common/platform/posix/cocoa/i_input.mm b/src/common/platform/posix/cocoa/i_input.mm index 51eaec9fd5..79f9d037c1 100644 --- a/src/common/platform/posix/cocoa/i_input.mm +++ b/src/common/platform/posix/cocoa/i_input.mm @@ -56,7 +56,6 @@ CVAR(Bool, use_mouse, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG) CVAR(Bool, k_allowfullscreentoggle, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG) extern int paused, chatmodeon; -extern uint8_t ConsoleState; extern bool ToggleFullscreen; bool GUICapture; diff --git a/src/common/platform/posix/sdl/i_input.cpp b/src/common/platform/posix/sdl/i_input.cpp index 8c5c4e5c93..933423e624 100644 --- a/src/common/platform/posix/sdl/i_input.cpp +++ b/src/common/platform/posix/sdl/i_input.cpp @@ -57,7 +57,6 @@ CVAR (Bool, use_mouse, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG) extern int WaitingForKey, chatmodeon; -extern uint8_t ConsoleState; static const SDL_Keycode DIKToKeySym[256] = {