From 602249f033d146d9c731d8b1cb4b2e0899c61ad9 Mon Sep 17 00:00:00 2001 From: Christos Margiolis Date: Sat, 18 Apr 2026 12:50:03 +0200 Subject: [PATCH] sound: Remove some forward declarations from sound.h and uaudio.h Sponsored by: The FreeBSD Foundation MFC after: 1 week --- sys/dev/sound/pcm/sound.h | 5 +---- sys/dev/sound/usb/uaudio.h | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/sys/dev/sound/pcm/sound.h b/sys/dev/sound/pcm/sound.h index de9af6bd532..56ef6af8e54 100644 --- a/sys/dev/sound/pcm/sound.h +++ b/sys/dev/sound/pcm/sound.h @@ -75,15 +75,12 @@ #include #include -struct pcm_channel; -struct pcm_feeder; -struct snd_dbuf; struct snd_mixer; -#include #include #include #include +#include #include #include diff --git a/sys/dev/sound/usb/uaudio.h b/sys/dev/sound/usb/uaudio.h index 54b31a4e7bd..05858473eb0 100644 --- a/sys/dev/sound/usb/uaudio.h +++ b/sys/dev/sound/usb/uaudio.h @@ -33,9 +33,7 @@ struct uaudio_chan; struct uaudio_softc; -struct snd_dbuf; struct snd_mixer; -struct pcm_channel; extern int uaudio_attach_sub(device_t dev, kobj_class_t mixer_class, kobj_class_t chan_class);