summaryrefslogtreecommitdiffstats
path: root/vidix
diff options
context:
space:
mode:
authorben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-22 15:41:17 +0000
committerben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-22 15:41:17 +0000
commit03e61642f92fbf25ca66a3735c3134ae99b48187 (patch)
tree676537b5cde356e41ef9f446d9bfc0f3acfa553d /vidix
parent53f418bea2649394f63f367f9b96e49714d7f0ca (diff)
downloadmpv-03e61642f92fbf25ca66a3735c3134ae99b48187.tar.bz2
mpv-03e61642f92fbf25ca66a3735c3134ae99b48187.tar.xz
declare variables as static
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23077 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vidix')
-rw-r--r--vidix/unichrome_vid.c12
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)