From d3b235bab51210768e270eb4439273eb266888cc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 8 Aug 2022 22:38:21 +0200 Subject: [PATCH] input/CdioParanoia: move global variables up --- src/input/plugins/CdioParanoiaInputPlugin.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/input/plugins/CdioParanoiaInputPlugin.cxx b/src/input/plugins/CdioParanoiaInputPlugin.cxx index a2e9c8211..5a7442f26 100644 --- a/src/input/plugins/CdioParanoiaInputPlugin.cxx +++ b/src/input/plugins/CdioParanoiaInputPlugin.cxx @@ -45,6 +45,11 @@ #include +static constexpr Domain cdio_domain("cdio"); + +static bool default_reverse_endian; +static unsigned speed = 0; + class CdioParanoiaInputStream final : public InputStream { cdrom_drive_t *const drv; CdIo_t *const cdio; @@ -98,11 +103,6 @@ class CdioParanoiaInputStream final : public InputStream { void Seek(std::unique_lock &lock, offset_type offset) override; }; -static constexpr Domain cdio_domain("cdio"); - -static bool default_reverse_endian; -static unsigned speed = 0; - static void input_cdio_init(EventLoop &, const ConfigBlock &block) {