Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2026 21:51:23 +0000
From:      Christos Margiolis <christos@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: cd1c4fb43ed1 - stable/15 - sound: Remove some forward declarations from sound.h and uaudio.h
Message-ID:  <69ed375b.3efcc.2f93aaba@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/15 has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=cd1c4fb43ed1919305a82a96b24c1c82b401ebcd

commit cd1c4fb43ed1919305a82a96b24c1c82b401ebcd
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2026-04-18 10:50:03 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2026-04-25 21:51:18 +0000

    sound: Remove some forward declarations from sound.h and uaudio.h
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    
    (cherry picked from commit 602249f033d146d9c731d8b1cb4b2e0899c61ad9)
---
 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 de9af6bd5324..56ef6af8e546 100644
--- a/sys/dev/sound/pcm/sound.h
+++ b/sys/dev/sound/pcm/sound.h
@@ -75,15 +75,12 @@
 #include <sys/mutex.h>
 #include <sys/condvar.h>
 
-struct pcm_channel;
-struct pcm_feeder;
-struct snd_dbuf;
 struct snd_mixer;
 
-#include <dev/sound/pcm/buffer.h>
 #include <dev/sound/pcm/matrix.h>
 #include <dev/sound/pcm/channel.h>
 #include <dev/sound/pcm/feeder.h>
+#include <dev/sound/pcm/buffer.h>
 #include <dev/sound/pcm/mixer.h>
 #include <dev/sound/pcm/dsp.h>
 
diff --git a/sys/dev/sound/usb/uaudio.h b/sys/dev/sound/usb/uaudio.h
index 54b31a4e7bd2..05858473eb00 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);


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ed375b.3efcc.2f93aaba>