audio: Clean up includes
Hi,
Audio queue, also pretty short ...
please pull,
Gerd
The following changes since commit 10ae9d76388e3f4a31f6a1475b5e2d1f28404a10:
Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.6-20160201' into staging (2016-02-02 09:13:10 +0000)
are available in the git repository at:
git://git.kraxel.org/qemu tags/pull-audio-20160202-1
for you to fetch changes up to 6086a565b0efe3eb66c5bf65a715a2c84425e47f:
audio: Clean up includes (2016-02-02 13:57:31 +0100)
----------------------------------------------------------------
audio: Clean up includes
----------------------------------------------------------------
Peter Maydell (1):
audio: Clean up includes
audio/alsaaudio.c | 1 + audio/audio.c | 1 + audio/audio_pt_int.c | 1 + audio/audio_win_int.c | 1 + audio/coreaudio.c | 2 +- audio/dsoundaudio.c | 1 + audio/mixeng.c | 1 + audio/noaudio.c | 1 + audio/ossaudio.c | 3 +-- audio/paaudio.c | 1 + audio/sdlaudio.c | 1 + audio/spiceaudio.c | 1 + audio/wavaudio.c | 1 + audio/wavcapture.c | 1 + hw/audio/ac97.c | 1 + hw/audio/adlib.c | 1 + hw/audio/cs4231.c | 1 + hw/audio/cs4231a.c | 1 + hw/audio/es1370.c | 1 + hw/audio/fmopl.c | 5 +---- hw/audio/gus.c | 1 + hw/audio/gusemu_hal.c | 1 + hw/audio/gusemu_mixer.c | 1 + hw/audio/hda-codec.c | 1 + hw/audio/intel-hda.c | 1 + hw/audio/lm4549.c | 2 +- hw/audio/marvell_88w8618.c | 1 + hw/audio/milkymist-ac97.c | 1 + hw/audio/pcspk.c | 1 + hw/audio/pl041.c | 1 + hw/audio/sb16.c | 1 + hw/audio/wm8750.c | 1 + 32 files changed, 32 insertions(+), 8 deletions(-)
From: Peter Maydell <[email protected]>
Clean up includes so that osdep.h is included first and headers which it implies are not included manually.
This commit was created with scripts/clean-includes.
Message-id: [email protected]
--- audio/alsaaudio.c | 1 + audio/audio.c | 1 + audio/audio_pt_int.c | 1 + audio/audio_win_int.c | 1 + audio/coreaudio.c | 2 +- audio/dsoundaudio.c | 1 + audio/mixeng.c | 1 + audio/noaudio.c | 1 + audio/ossaudio.c | 3 +-- audio/paaudio.c | 1 + audio/sdlaudio.c | 1 + audio/spiceaudio.c | 1 + audio/wavaudio.c | 1 + audio/wavcapture.c | 1 + hw/audio/ac97.c | 1 + hw/audio/adlib.c | 1 + hw/audio/cs4231.c | 1 + hw/audio/cs4231a.c | 1 + hw/audio/es1370.c | 1 + hw/audio/fmopl.c | 5 +---- hw/audio/gus.c | 1 + hw/audio/gusemu_hal.c | 1 + hw/audio/gusemu_mixer.c | 1 + hw/audio/hda-codec.c | 1 + hw/audio/intel-hda.c | 1 + hw/audio/lm4549.c | 2 +- hw/audio/marvell_88w8618.c | 1 + hw/audio/milkymist-ac97.c | 1 + hw/audio/pcspk.c | 1 + hw/audio/pl041.c | 1 + hw/audio/sb16.c | 1 + hw/audio/wm8750.c | 1 + 32 files changed, 32 insertions(+), 8 deletions(-)
audio/alsaaudio.c +1 -0
@@ -21,6 +21,7 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include <alsa/asoundlib.h> #include "qemu-common.h" #include "qemu/main-loop.h"
audio/audio.c +1 -0
@@ -21,6 +21,7 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "audio.h" #include "monitor/monitor.h"
audio/audio_pt_int.c +1 -0
@@ -1,3 +1,4 @@ +#include "qemu/osdep.h" #include "qemu-common.h" #include "audio.h"
audio/audio_win_int.c +1 -0
@@ -1,5 +1,6 @@/* public domain */ +#include "qemu/osdep.h" #include "qemu-common.h" #define AUDIO_CAP "win-int"
audio/coreaudio.c +1 -1
@@ -22,8 +22,8 @@* THE SOFTWARE. */ +#include "qemu/osdep.h" #include <CoreAudio/CoreAudio.h> -#include <string.h> /* strerror */ #include <pthread.h> /* pthread_X */ #include "qemu-common.h"
audio/dsoundaudio.c +1 -0
@@ -26,6 +26,7 @@* SEAL 1.07 by Carlos 'pel' Hasan was used as documentation */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "audio.h"
audio/mixeng.c +1 -0
@@ -22,6 +22,7 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "audio.h"
audio/noaudio.c +1 -0
@@ -21,6 +21,7 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "audio.h" #include "qemu/timer.h"
audio/ossaudio.c +1 -2
@@ -21,9 +21,8 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include <stdlib.h> +#include "qemu/osdep.h" #include <sys/mman.h> -#include <sys/types.h> #include <sys/ioctl.h> #include <sys/soundcard.h> #include "qemu-common.h"
audio/paaudio.c +1 -0
@@ -1,4 +1,5 @@/* public domain */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "audio.h"
audio/sdlaudio.c +1 -0
@@ -21,6 +21,7 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include <SDL.h> #include <SDL_thread.h> #include "qemu-common.h"
audio/spiceaudio.c +1 -0
@@ -17,6 +17,7 @@* along with this program; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "qemu/error-report.h" #include "qemu/timer.h"
audio/wavaudio.c +1 -0
@@ -21,6 +21,7 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "qemu/timer.h" #include "audio.h"
audio/wavcapture.c +1 -0
@@ -1,3 +1,4 @@ +#include "qemu/osdep.h" #include "hw/hw.h" #include "monitor/monitor.h" #include "qemu/error-report.h"
hw/audio/ac97.c +1 -0
@@ -17,6 +17,7 @@* GNU GPL, version 2 or (at your option) any later version. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/audio/audio.h" #include "audio/audio.h"
hw/audio/adlib.c +1 -0
@@ -22,6 +22,7 @@* THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/audio/audio.h" #include "audio/audio.h"
hw/audio/cs4231.c +1 -0
@@ -22,6 +22,7 @@* THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "trace.h"
hw/audio/cs4231a.c +1 -0
@@ -21,6 +21,7 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/audio/audio.h" #include "audio/audio.h"
hw/audio/es1370.c +1 -0
@@ -26,6 +26,7 @@/* #define VERBOSE_ES1370 */ #define SILENT_ES1370 +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/audio/audio.h" #include "audio/audio.h"
hw/audio/fmopl.c +1 -4
@@ -32,10 +32,7 @@#define HAS_YM3812 1 -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <stdarg.h> +#include "qemu/osdep.h" #include <math.h> //#include "driver.h" /* use M.A.M.E. */ #include "fmopl.h"
hw/audio/gus.c +1 -0
@@ -21,6 +21,7 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/audio/audio.h" #include "audio/audio.h"
hw/audio/gusemu_hal.c +1 -0
@@ -26,6 +26,7 @@* TODO: check mixer: see 7.20 of sdk for panning pos (applies to all gus models?)? */ +#include "qemu/osdep.h" #include "gustate.h" #include "gusemu.h"
hw/audio/gusemu_mixer.c +1 -0
@@ -22,6 +22,7 @@* THE SOFTWARE. */ +#include "qemu/osdep.h" #include "gusemu.h" #include "gustate.h"
hw/audio/hda-codec.c +1 -0
@@ -17,6 +17,7 @@* along with this program; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" #include "intel-hda.h"
hw/audio/intel-hda.c +1 -0
@@ -17,6 +17,7 @@* along with this program; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/pci/pci.h" #include "hw/pci/msi.h"
hw/audio/lm4549.c +1 -1
@@ -13,6 +13,7 @@* It supports only one playback voice and no record voice. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "audio/audio.h" #include "lm4549.h"
@@ -33,7 +34,6 @@ do { printf("lm4549: " fmt , ## __VA_ARGS__); } while (0)#endif #if defined(LM4549_DUMP_DAC_INPUT ) -#include <stdio.h> static FILE *fp_dac_input;#endif
hw/audio/marvell_88w8618.c +1 -0
@@ -9,6 +9,7 @@* Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "hw/hw.h" #include "hw/i2c/i2c.h"
hw/audio/milkymist-ac97.c +1 -0
@@ -21,6 +21,7 @@* http://www.milkymist.org/socdoc/ac97.pdf */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/sysbus.h" #include "trace.h"
hw/audio/pcspk.c +1 -0
@@ -22,6 +22,7 @@* THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/i386/pc.h" #include "hw/isa/isa.h"
hw/audio/pl041.c +1 -0
@@ -20,6 +20,7 @@* */ +#include "qemu/osdep.h" #include "hw/sysbus.h" #include "pl041.h"
hw/audio/sb16.c +1 -0
@@ -21,6 +21,7 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/audio/audio.h" #include "audio/audio.h"
hw/audio/wm8750.c +1 -0
@@ -7,6 +7,7 @@* This file is licensed under GNU GPL. */ +#include "qemu/osdep.h" #include "hw/hw.h" #include "hw/i2c/i2c.h" #include "audio/audio.h"
Signature · 1 line
1.8.3.1
Peter Maydell
AppliedQuoted 14 lines · Gerd Hoffmann
Hi,
Audio queue, also pretty short ...
please pull,
GerdThe following changes since commit
10ae9d76388e3f4a31f6a1475b5e2d1f28404a10:Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.6-20160201' into staging (2016-02-02 09:13:10 +0000)
are available in the git repository at:
Quoted 9 lines
git://git.kraxel.org/qemutags/pull-audio-20160202-1for you to fetch changes up to
6086a565b0efe3eb66c5bf65a715a2c84425e47f:audio: Clean up includes (2016-02-02 13:57:31 +0100)
----------------------------------------------------------------
audio: Clean up includes
Applied, thanks.
-- PMM