[MPlayer-cvslog] r23077 - trunk/vidix

ben subversion at mplayerhq.hu
Sun Apr 22 17:41:17 CEST 2007


Author: ben
Date: Sun Apr 22 17:41:17 2007
New Revision: 23077

Log:
declare variables as static

Modified:
   trunk/vidix/unichrome_vid.c

Modified: trunk/vidix/unichrome_vid.c
==============================================================================
--- trunk/vidix/unichrome_vid.c	(original)
+++ trunk/vidix/unichrome_vid.c	Sun Apr 22 17:41:17 2007
@@ -49,7 +49,7 @@
 /**
  * @brief Information on PCI device.
  */
-pciinfo_t pci_info;
+static pciinfo_t pci_info;
 
 /**
  * @brief Unichrome driver colorkey settings.
@@ -57,10 +57,10 @@ pciinfo_t pci_info;
 static vidix_grkey_t uc_grkey;
 
 static int frames[VID_PLAY_MAXFRAMES];
-uint8_t *vio;
-uint8_t *uc_mem;
-uint8_t mclk_save[3];
-uint8_t hwrev;
+static uint8_t *vio;
+static uint8_t *uc_mem;
+static uint8_t mclk_save[3];
+static uint8_t hwrev;
 
 #define VIA_OUT(hwregs, reg, val)	*(volatile uint32_t *)((hwregs) + (reg)) = (val)
 #define VIA_IN(hwregs, reg)		*(volatile uint32_t *)((hwregs) + (reg))
@@ -81,7 +81,7 @@ uint8_t hwrev;
 #define FRAMEBUFFER_START	(VIDEOMEMORY_SIZE - FRAMEBUFFER_SIZE)
 
 #ifdef DEBUG_LOGFILE
-FILE *logfile = 0;
+static FILE *logfile = 0;
 #define LOGWRITE(x) {if(logfile) fprintf(logfile,x);}
 #else
 #define LOGWRITE(x)



More information about the MPlayer-cvslog mailing list