Mercurial > mplayer.hg
changeset 23050:49dc254e7cc7
declare variables as static
author | ben |
---|---|
date | Sun, 22 Apr 2007 15:26:24 +0000 |
parents | deefad53512a |
children | e0300c7a0297 |
files | vidix/cyberblade_vid.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/vidix/cyberblade_vid.c Sun Apr 22 15:24:25 2007 +0000 +++ b/vidix/cyberblade_vid.c Sun Apr 22 15:26:24 2007 +0000 @@ -53,13 +53,13 @@ #include "cyberblade_regs.h" -pciinfo_t pci_info; +static pciinfo_t pci_info; -char save_colourkey[6]; -char *cyberblade_mem; +static char save_colourkey[6]; +static char *cyberblade_mem; #ifdef DEBUG_LOGFILE -FILE *logfile=0; +static FILE *logfile=0; #define LOGWRITE(x) {if(logfile) fprintf(logfile,x);} #else #define LOGWRITE(x) @@ -79,7 +79,7 @@ SROUTB(reg+1,(val>>8)&255); } -void DumpRegisters(void) +static void DumpRegisters(void) { #ifdef DEBUG_LOGFILE int reg,val;