[prev in list] [next in list] [prev in thread] [next in thread]
List: mplayer-dev-eng
Subject: [MPlayer-dev-eng] [PATCH] mga_vid.c more static functions
From: Attila Kinali <kinali () gmx ! net>
Date: 2002-04-27 17:43:06
Message-ID: E171WDy-0000ft-00 () pc-attila ! kinali ! ch
[Download RAW message or body]
Hi,
Here a little patch that should fix the "isofs uses mga_vid" bug
Attila Kinali
--
Israel, where the first genocide of this century takes place.
["koth-20020427-mga_vid-cleanup.diff" (text/plain)]
--- /home/attila/src/mplayer/main/drivers/mga_vid.c Sun Apr 21 17:45:01 2002
+++ mga_vid.c Sat Apr 27 19:40:39 2002
@@ -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;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic