declare variables as static

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23077 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ben 2007-04-22 15:41:17 +00:00
parent 53f418bea2
commit 03e61642f9
1 changed files with 6 additions and 6 deletions

View File

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