diff --git a/src/Main.cxx b/src/Main.cxx index de02ffe4..3f0c4da6 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -3,7 +3,6 @@ #include "config.h" #include "Instance.hxx" -#include "ncmpc.hxx" #include "charset.hxx" #include "Options.hxx" #include "Command.hxx" @@ -39,8 +38,6 @@ using std::string_view_literals::operator""sv; -ScreenManager *screen; - #ifndef NCMPC_MINI static void update_xterm_title(struct mpdclient &client) noexcept @@ -295,7 +292,6 @@ try { /* create the global Instance */ Instance instance; - screen = &instance.GetScreenManager(); AtScopeExit() { /* this must be executed after ~Instance(), so we're diff --git a/src/ncmpc.hxx b/src/ncmpc.hxx deleted file mode 100644 index ce69179f..00000000 --- a/src/ncmpc.hxx +++ /dev/null @@ -1,7 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -// Copyright The Music Player Daemon Project - -#pragma once - -class ScreenManager; -extern ScreenManager *screen;