changeset 29702:28fb967d78d8

Mark some functions that do not need external visibility as static. patch by Alexander Neumann, alexander bumpern de
author diego
date Wed, 30 Sep 2009 23:47:00 +0000
parents ab2def5a960f
children 804fcc7e13f9
files libmpcodecs/ad_twin.c libmpcodecs/vf_screenshot.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_twin.c	Wed Sep 30 18:45:02 2009 +0000
+++ b/libmpcodecs/ad_twin.c	Wed Sep 30 23:47:00 2009 +0000
@@ -184,7 +184,7 @@
   FreeLibrary(vqf_dll);
 }
 
-int control(sh_audio_t *sh_audio,int cmd,void* arg, ...)
+static int control(sh_audio_t *sh_audio,int cmd,void* arg, ...)
 {
   switch(cmd) {
       case ADCTRL_QUERY_FORMAT:
--- a/libmpcodecs/vf_screenshot.c	Wed Sep 30 18:45:02 2009 +0000
+++ b/libmpcodecs/vf_screenshot.c	Wed Sep 30 23:47:00 2009 +0000
@@ -204,7 +204,7 @@
     return vf_next_put_image(vf, dmpi, pts);
 }
 
-int control (vf_instance_t *vf, int request, void *data)
+static int control (vf_instance_t *vf, int request, void *data)
 {
     /** data contains an integer argument
      * 0: take screenshot with the next frame