From c4efc37ad88d8ee99195544f2dfb9954090df181 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 8 Mar 2019 10:21:10 +0100 Subject: [PATCH] system/ByteOrder: move to util/ --- src/decoder/plugins/DsdLib.hxx | 2 +- src/decoder/plugins/DsdiffDecoderPlugin.cxx | 2 +- src/decoder/plugins/DsfDecoderPlugin.cxx | 2 +- src/decoder/plugins/HybridDsdDecoderPlugin.cxx | 2 +- src/decoder/plugins/PcmDecoderPlugin.cxx | 2 +- src/decoder/plugins/SidplayDecoderPlugin.cxx | 2 +- src/encoder/plugins/OpusEncoderPlugin.cxx | 2 +- src/encoder/plugins/WaveEncoderPlugin.cxx | 2 +- src/input/plugins/CdioParanoiaInputPlugin.cxx | 2 +- src/lib/alsa/HwSetup.cxx | 2 +- src/net/IPv4Address.hxx | 2 +- src/net/IPv6Address.hxx | 2 +- src/output/plugins/OSXOutputPlugin.cxx | 2 +- src/output/plugins/OssOutputPlugin.cxx | 2 +- src/output/plugins/sles/SlesOutputPlugin.cxx | 2 +- src/pcm/PcmPack.cxx | 2 +- src/tag/Aiff.cxx | 2 +- src/tag/ApeLoader.cxx | 2 +- src/tag/Riff.cxx | 2 +- src/{system => util}/ByteOrder.hxx | 2 +- src/util/ByteReverse.cxx | 2 +- test/test_pcm_export.cxx | 2 +- test/test_pcm_pack.cxx | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) rename src/{system => util}/ByteOrder.hxx (99%) diff --git a/src/decoder/plugins/DsdLib.hxx b/src/decoder/plugins/DsdLib.hxx index 6709f2821..e4758e25a 100644 --- a/src/decoder/plugins/DsdLib.hxx +++ b/src/decoder/plugins/DsdLib.hxx @@ -20,7 +20,7 @@ #ifndef MPD_DECODER_DSDLIB_HXX #define MPD_DECODER_DSDLIB_HXX -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "input/Offset.hxx" #include "util/Compiler.h" diff --git a/src/decoder/plugins/DsdiffDecoderPlugin.cxx b/src/decoder/plugins/DsdiffDecoderPlugin.cxx index b1779632a..caca7f7ba 100644 --- a/src/decoder/plugins/DsdiffDecoderPlugin.cxx +++ b/src/decoder/plugins/DsdiffDecoderPlugin.cxx @@ -32,7 +32,7 @@ #include "input/InputStream.hxx" #include "CheckAudioFormat.hxx" #include "util/bit_reverse.h" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "tag/Handler.hxx" #include "DsdLib.hxx" #include "Log.hxx" diff --git a/src/decoder/plugins/DsfDecoderPlugin.cxx b/src/decoder/plugins/DsfDecoderPlugin.cxx index 332f0525c..d95fda9da 100644 --- a/src/decoder/plugins/DsfDecoderPlugin.cxx +++ b/src/decoder/plugins/DsfDecoderPlugin.cxx @@ -33,7 +33,7 @@ #include "input/InputStream.hxx" #include "CheckAudioFormat.hxx" #include "util/bit_reverse.h" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "DsdLib.hxx" #include "tag/Handler.hxx" #include "Log.hxx" diff --git a/src/decoder/plugins/HybridDsdDecoderPlugin.cxx b/src/decoder/plugins/HybridDsdDecoderPlugin.cxx index 993bfb283..46f109eb2 100644 --- a/src/decoder/plugins/HybridDsdDecoderPlugin.cxx +++ b/src/decoder/plugins/HybridDsdDecoderPlugin.cxx @@ -20,7 +20,7 @@ #include "HybridDsdDecoderPlugin.hxx" #include "../DecoderAPI.hxx" #include "input/InputStream.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "util/Domain.hxx" #include "util/WritableBuffer.hxx" #include "util/StaticFifoBuffer.hxx" diff --git a/src/decoder/plugins/PcmDecoderPlugin.cxx b/src/decoder/plugins/PcmDecoderPlugin.cxx index e114c8a32..2448e59cc 100644 --- a/src/decoder/plugins/PcmDecoderPlugin.cxx +++ b/src/decoder/plugins/PcmDecoderPlugin.cxx @@ -22,7 +22,7 @@ #include "CheckAudioFormat.hxx" #include "pcm/PcmPack.hxx" #include "input/InputStream.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "util/Domain.hxx" #include "util/ByteReverse.hxx" #include "util/StaticFifoBuffer.hxx" diff --git a/src/decoder/plugins/SidplayDecoderPlugin.cxx b/src/decoder/plugins/SidplayDecoderPlugin.cxx index 581f78981..1d21bab7c 100644 --- a/src/decoder/plugins/SidplayDecoderPlugin.cxx +++ b/src/decoder/plugins/SidplayDecoderPlugin.cxx @@ -35,7 +35,7 @@ #include "util/Domain.hxx" #include "util/AllocatedString.hxx" #include "util/CharUtil.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "Log.hxx" #ifdef HAVE_SIDPLAYFP diff --git a/src/encoder/plugins/OpusEncoderPlugin.cxx b/src/encoder/plugins/OpusEncoderPlugin.cxx index fea308d61..114ea1aa9 100644 --- a/src/encoder/plugins/OpusEncoderPlugin.cxx +++ b/src/encoder/plugins/OpusEncoderPlugin.cxx @@ -22,7 +22,7 @@ #include "AudioFormat.hxx" #include "config/Domain.hxx" #include "util/Alloc.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "util/StringUtil.hxx" #include diff --git a/src/encoder/plugins/WaveEncoderPlugin.cxx b/src/encoder/plugins/WaveEncoderPlugin.cxx index 2b6156569..20abcc474 100644 --- a/src/encoder/plugins/WaveEncoderPlugin.cxx +++ b/src/encoder/plugins/WaveEncoderPlugin.cxx @@ -19,7 +19,7 @@ #include "WaveEncoderPlugin.hxx" #include "../EncoderAPI.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "util/DynamicFifoBuffer.hxx" #include diff --git a/src/input/plugins/CdioParanoiaInputPlugin.cxx b/src/input/plugins/CdioParanoiaInputPlugin.cxx index eb7fb26c8..d5c04df0d 100644 --- a/src/input/plugins/CdioParanoiaInputPlugin.cxx +++ b/src/input/plugins/CdioParanoiaInputPlugin.cxx @@ -30,7 +30,7 @@ #include "util/StringCompare.hxx" #include "util/RuntimeError.hxx" #include "util/Domain.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "fs/AllocatedPath.hxx" #include "Log.hxx" #include "config/Block.hxx" diff --git a/src/lib/alsa/HwSetup.cxx b/src/lib/alsa/HwSetup.cxx index eae4ae32e..abdaf983f 100644 --- a/src/lib/alsa/HwSetup.cxx +++ b/src/lib/alsa/HwSetup.cxx @@ -19,7 +19,7 @@ #include "HwSetup.hxx" #include "Format.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "util/Domain.hxx" #include "util/RuntimeError.hxx" #include "AudioFormat.hxx" diff --git a/src/net/IPv4Address.hxx b/src/net/IPv4Address.hxx index 3af0210c3..e040c7c5b 100644 --- a/src/net/IPv4Address.hxx +++ b/src/net/IPv4Address.hxx @@ -31,7 +31,7 @@ #define IPV4_ADDRESS_HXX #include "SocketAddress.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include diff --git a/src/net/IPv6Address.hxx b/src/net/IPv6Address.hxx index eae9b60c1..a3aa695a5 100644 --- a/src/net/IPv6Address.hxx +++ b/src/net/IPv6Address.hxx @@ -31,7 +31,7 @@ #define IPV6_ADDRESS_HXX #include "SocketAddress.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "util/Compiler.h" #include diff --git a/src/output/plugins/OSXOutputPlugin.cxx b/src/output/plugins/OSXOutputPlugin.cxx index da7bb4f19..af4ad56d3 100644 --- a/src/output/plugins/OSXOutputPlugin.cxx +++ b/src/output/plugins/OSXOutputPlugin.cxx @@ -29,7 +29,7 @@ #include "pcm/PcmExport.hxx" #include "thread/Mutex.hxx" #include "thread/Cond.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "util/StringBuffer.hxx" #include "util/StringFormat.hxx" #include "Log.hxx" diff --git a/src/output/plugins/OssOutputPlugin.cxx b/src/output/plugins/OssOutputPlugin.cxx index 77ec21bed..2938fb868 100644 --- a/src/output/plugins/OssOutputPlugin.cxx +++ b/src/output/plugins/OssOutputPlugin.cxx @@ -25,7 +25,7 @@ #include "util/ConstBuffer.hxx" #include "util/Domain.hxx" #include "util/Macros.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "Log.hxx" #include diff --git a/src/output/plugins/sles/SlesOutputPlugin.cxx b/src/output/plugins/sles/SlesOutputPlugin.cxx index a2a265c59..09968559d 100644 --- a/src/output/plugins/sles/SlesOutputPlugin.cxx +++ b/src/output/plugins/sles/SlesOutputPlugin.cxx @@ -27,7 +27,7 @@ #include "thread/Cond.hxx" #include "util/Macros.hxx" #include "util/Domain.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "mixer/MixerList.hxx" #include "Log.hxx" diff --git a/src/pcm/PcmPack.cxx b/src/pcm/PcmPack.cxx index 58d6a1a1d..cb4f4261e 100644 --- a/src/pcm/PcmPack.cxx +++ b/src/pcm/PcmPack.cxx @@ -18,7 +18,7 @@ */ #include "PcmPack.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" static void pack_sample(uint8_t *dest, const int32_t *src0) noexcept diff --git a/src/tag/Aiff.cxx b/src/tag/Aiff.cxx index 57ec343d5..3cc3a7f43 100644 --- a/src/tag/Aiff.cxx +++ b/src/tag/Aiff.cxx @@ -19,7 +19,7 @@ #include "Aiff.hxx" #include "input/InputStream.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include #include diff --git a/src/tag/ApeLoader.cxx b/src/tag/ApeLoader.cxx index 88556cd4b..eb2c76b75 100644 --- a/src/tag/ApeLoader.cxx +++ b/src/tag/ApeLoader.cxx @@ -18,7 +18,7 @@ */ #include "ApeLoader.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "input/InputStream.hxx" #include "util/StringView.hxx" diff --git a/src/tag/Riff.cxx b/src/tag/Riff.cxx index 85cbcf743..9671861fe 100644 --- a/src/tag/Riff.cxx +++ b/src/tag/Riff.cxx @@ -19,7 +19,7 @@ #include "Riff.hxx" #include "input/InputStream.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include #include diff --git a/src/system/ByteOrder.hxx b/src/util/ByteOrder.hxx similarity index 99% rename from src/system/ByteOrder.hxx rename to src/util/ByteOrder.hxx index 8ed3b6c72..edeeb31c3 100644 --- a/src/system/ByteOrder.hxx +++ b/src/util/ByteOrder.hxx @@ -30,7 +30,7 @@ #ifndef BYTE_ORDER_HXX #define BYTE_ORDER_HXX -#include "util/Compiler.h" +#include "Compiler.h" #include diff --git a/src/util/ByteReverse.cxx b/src/util/ByteReverse.cxx index b0518316a..225f4089c 100644 --- a/src/util/ByteReverse.cxx +++ b/src/util/ByteReverse.cxx @@ -18,7 +18,7 @@ */ #include "ByteReverse.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "Compiler.h" #include diff --git a/test/test_pcm_export.cxx b/test/test_pcm_export.cxx index c8b266617..e53cba931 100644 --- a/test/test_pcm_export.cxx +++ b/test/test_pcm_export.cxx @@ -20,7 +20,7 @@ #include "config.h" #include "pcm/PcmExport.hxx" #include "pcm/Traits.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include "util/ConstBuffer.hxx" #include diff --git a/test/test_pcm_pack.cxx b/test/test_pcm_pack.cxx index a3055cbf7..8acbac61c 100644 --- a/test/test_pcm_pack.cxx +++ b/test/test_pcm_pack.cxx @@ -19,7 +19,7 @@ #include "test_pcm_util.hxx" #include "pcm/PcmPack.hxx" -#include "system/ByteOrder.hxx" +#include "util/ByteOrder.hxx" #include