diff libvo/vo_aa.c @ 18950:a943bc3f26c8

Make some functions static. Patch by Stefan Huehner, stefan at huehner org.
author uau
date Sat, 08 Jul 2006 15:26:36 +0000
parents 8579acff875e
children ad7747bce52d
line wrap: on
line diff
--- a/libvo/vo_aa.c	Sat Jul 08 15:00:37 2006 +0000
+++ b/libvo/vo_aa.c	Sat Jul 08 15:26:36 2006 +0000
@@ -136,8 +136,8 @@
 
 }
 
-void
-osdmessage(int duration, int deko, char *fmt, ...)
+static void
+osdmessage(int duration, int deko, const char *fmt, ...)
 {
     /*
      * for outputting a centered string at the bottom
@@ -163,8 +163,8 @@
     posbar[0]='\0';
 }
 
-void
-osdpercent(int duration, int deko, int min, int max, int val, char * desc, char * unit)
+static void
+osdpercent(int duration, int deko, int min, int max, int val, const char * desc, const char * unit)
 {
     /*
      * prints a bar for setting values
@@ -190,7 +190,7 @@
  
 }
 
-void
+static void
 printosdtext(void)
 {
   if(osd_text_length > 0 && !vo_osd_text) {
@@ -220,7 +220,7 @@
   }
 }
 
-void
+static void
 printosdprogbar(void){
     /* print mplayer osd-progbar */
     if (vo_osd_progbar_type!=-1){
@@ -574,7 +574,7 @@
 #endif
 }
 
-int
+static int
 getcolor(char * s){
     int i;
     char * rest;