diff options
author | Max Kellermann <max@duempel.org> | 2013-11-28 11:50:54 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-11-28 11:50:54 +0100 |
commit | f90abe9530ef1075bc9b60e0f08f405d2d86f799 (patch) | |
tree | 60f4052123e03cd326ec64f4b6cd711784d651b2 /src/pcm | |
parent | 46bab7e4b921b79924643bacd08dcd3d1404ceb6 (diff) |
include cleanup using iwyu
Diffstat (limited to 'src/pcm')
-rw-r--r-- | src/pcm/PcmBuffer.cxx | 1 | ||||
-rw-r--r-- | src/pcm/PcmConvert.hxx | 3 | ||||
-rw-r--r-- | src/pcm/PcmDsd.cxx | 1 | ||||
-rw-r--r-- | src/pcm/PcmDsdUsb.cxx | 2 | ||||
-rw-r--r-- | src/pcm/PcmMix.cxx | 1 |
5 files changed, 5 insertions, 3 deletions
diff --git a/src/pcm/PcmBuffer.cxx b/src/pcm/PcmBuffer.cxx index 578c579be..5af9a978d 100644 --- a/src/pcm/PcmBuffer.cxx +++ b/src/pcm/PcmBuffer.cxx @@ -19,7 +19,6 @@ #include "config.h" #include "PcmBuffer.hxx" -#include "poison.h" void * PcmBuffer::Get(size_t new_size) diff --git a/src/pcm/PcmConvert.hxx b/src/pcm/PcmConvert.hxx index 4bace1d36..02743b6cc 100644 --- a/src/pcm/PcmConvert.hxx +++ b/src/pcm/PcmConvert.hxx @@ -29,6 +29,7 @@ #include <stddef.h> class Error; +class Domain; /** * This object is statically allocated (within another struct), and @@ -100,6 +101,6 @@ private: Error &error); }; -extern const class Domain pcm_convert_domain; +extern const Domain pcm_convert_domain; #endif diff --git a/src/pcm/PcmDsd.cxx b/src/pcm/PcmDsd.cxx index 4db274635..22b3c7ba2 100644 --- a/src/pcm/PcmDsd.cxx +++ b/src/pcm/PcmDsd.cxx @@ -25,7 +25,6 @@ #include <algorithm> #include <assert.h> -#include <string.h> PcmDsd::PcmDsd() { diff --git a/src/pcm/PcmDsdUsb.cxx b/src/pcm/PcmDsdUsb.cxx index 2d0f33a15..833d84653 100644 --- a/src/pcm/PcmDsdUsb.cxx +++ b/src/pcm/PcmDsdUsb.cxx @@ -22,6 +22,8 @@ #include "PcmBuffer.hxx" #include "AudioFormat.hxx" +#include <assert.h> + constexpr static inline uint32_t pcm_two_dsd_to_usb_marker1(uint8_t a, uint8_t b) diff --git a/src/pcm/PcmMix.cxx b/src/pcm/PcmMix.cxx index 001794061..21080bc5f 100644 --- a/src/pcm/PcmMix.cxx +++ b/src/pcm/PcmMix.cxx @@ -23,6 +23,7 @@ #include "PcmUtils.hxx" #include "AudioFormat.hxx" +#include <assert.h> #include <math.h> template<typename T, typename U, unsigned bits> |