[vlc-devel] commit: Make doVolumeChanges static ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Feb 14 10:58:25 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 14 11:34:26 2010 +0200| [663e69a685f234f84a028200d53a51daf1f7f249] | committer: Rémi Denis-Courmont 

Make doVolumeChanges static

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=663e69a685f234f84a028200d53a51daf1f7f249
---

 src/audio_output/aout_internal.h |    3 ---
 src/audio_output/intf.c          |    2 ++
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/audio_output/aout_internal.h b/src/audio_output/aout_internal.h
index 32ca148..12878c2 100644
--- a/src/audio_output/aout_internal.h
+++ b/src/audio_output/aout_internal.h
@@ -151,9 +151,6 @@ int aout_VolumeSoftInfos( aout_instance_t *, audio_volume_t * );
 int aout_VolumeNoneGet( aout_instance_t *, audio_volume_t * );
 int aout_VolumeNoneSet( aout_instance_t *, audio_volume_t );
 int aout_VolumeNoneInfos( aout_instance_t *, audio_volume_t * );
-int doVolumeChanges( unsigned action, vlc_object_t * p_object, int i_nb_steps,
-                    audio_volume_t i_volume, audio_volume_t * i_return_volume,
-                    bool b_mute );
 
 /* From dec.c */
 #define aout_DecNew(a, b, c, d, e) __aout_DecNew(VLC_OBJECT(a), b, c, d, e)
diff --git a/src/audio_output/intf.c b/src/audio_output/intf.c
index 03da3e6..4a589a4 100644
--- a/src/audio_output/intf.c
+++ b/src/audio_output/intf.c
@@ -81,10 +81,12 @@ enum {
     INCREMENT_VOLUME=4,
     TOGGLE_MUTE=8
 };
+
 /*****************************************************************************
  * doVolumeChanges : handle all volume changes. Internal use only to ease
  *                   variables locking.
  *****************************************************************************/
+static
 int doVolumeChanges( unsigned action, vlc_object_t * p_object, int i_nb_steps,
                 audio_volume_t i_volume, audio_volume_t * i_return_volume,
                 bool b_mute )




More information about the vlc-devel mailing list