diff options
Diffstat (limited to 'vidix/unichrome_vid.c')
-rw-r--r-- | vidix/unichrome_vid.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vidix/unichrome_vid.c b/vidix/unichrome_vid.c index 44046e77bc..9c5cfe4c4a 100644 --- a/vidix/unichrome_vid.c +++ b/vidix/unichrome_vid.c @@ -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) |