From: Marc-André Lureau <marcandre.lureau@redhat.com>
Clean up.
Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
---
audio/audio_int.h | 1 -
audio/audio.c | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/audio/audio_int.h b/audio/audio_int.h
index 08d07b17557..e1f9fa333ba 100644
--- a/audio/audio_int.h
+++ b/audio/audio_int.h
@@ -306,7 +306,6 @@ static inline size_t audio_ring_posb(size_t pos, size_t dist, size_t len)
#define ldebug(fmt, ...) (void)0
#endif
-void audio_create_pdos(Audiodev *dev);
AudiodevPerDirectionOptions *audio_get_pdo_in(Audiodev *dev);
AudiodevPerDirectionOptions *audio_get_pdo_out(Audiodev *dev);
diff --git a/audio/audio.c b/audio/audio.c
index d8a54548274..1fa63ee0421 100644
--- a/audio/audio.c
+++ b/audio/audio.c
@@ -1990,7 +1990,7 @@ void AUD_set_volume_in(SWVoiceIn *sw, Volume *vol)
}
}
-void audio_create_pdos(Audiodev *dev)
+static void audio_create_pdos(Audiodev *dev)
{
switch (dev->driver) {
#define CASE(DRIVER, driver, pdo_name) \
--
2.53.0