From 851b136bb4881a0bfa6838ba03c8e7a491b17b2e Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Tue, 10 Mar 2020 16:32:51 +0000 Subject: [PATCH] sound: Make functions exported not visible Allows the compiler to do some additional optimizations. Signed-off-by: Frediano Ziglio --- server/sound.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/sound.h b/server/sound.h index 2f0a2b93..19df2c2c 100644 --- a/server/sound.h +++ b/server/sound.h @@ -20,6 +20,8 @@ #include "red-common.h" +#include "push-visibility.h" + struct RedClient; void snd_attach_playback(RedsState *reds, SpicePlaybackInstance *sin); @@ -32,4 +34,6 @@ void snd_set_playback_compression(bool on); void snd_set_playback_latency(struct RedClient *client, uint32_t latency); +#include "pop-visibility.h" + #endif /* SOUND_H_ */