[Mplayer-cvslog] CVS: main/drivers mga_vid.c,1.44,1.45

Arpi of Ize arpi at mplayerhq.hu
Sun Apr 28 19:22:52 CEST 2002


Update of /cvsroot/mplayer/main/drivers
In directory mail:/var/tmp.root/cvs-serv2953

Modified Files:
	mga_vid.c 
Log Message:
patch that should fix the "isofs uses mga_vid" bug
by Attila Kinali <kinali at gmx.net>


Index: mga_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/drivers/mga_vid.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- mga_vid.c	21 Apr 2002 15:07:44 -0000	1.44
+++ mga_vid.c	28 Apr 2002 17:22:40 -0000	1.45
@@ -109,7 +109,7 @@
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
 #include <linux/ctype.h>
 
-unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base)
+static unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base)
 {
         unsigned long result = 0,value;
 
@@ -134,7 +134,7 @@
         return result;
 }
 
-long simple_strtol(const char *cp,char **endp,unsigned int base)
+static long simple_strtol(const char *cp,char **endp,unsigned int base)
 {
         if(*cp=='-')
                 return -simple_strtoul(cp+1,endp,base);
@@ -1085,7 +1085,7 @@
 
 }
 
-void mga_handle_irq(int irq, void *dev_id, struct pt_regs *pregs) {
+static void mga_handle_irq(int irq, void *dev_id, struct pt_regs *pregs) {
 //	static int frame=0;
 //	static int counter=0;
 	long int cc;




More information about the MPlayer-cvslog mailing list