Mercurial > mplayer.hg
changeset 23059:7d3914646699
declare variables as static
author | ben |
---|---|
date | Sun, 22 Apr 2007 15:41:17 +0000 |
parents | 5366657d357e |
children | 91ad6d4d6a54 |
files | vidix/unichrome_vid.c |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/vidix/unichrome_vid.c Sun Apr 22 15:39:39 2007 +0000 +++ b/vidix/unichrome_vid.c Sun Apr 22 15:41:17 2007 +0000 @@ -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 @@ 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 @@ #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)