From d113f40fd97408661193895ff3aa82262f100143 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Sat, 12 Aug 2006 17:16:33 +1000 Subject: radeon: make some local data static This is inspired by a patch in XFree86 from David Dawes, it isn't the same as we have different gamma curves. --- src/radeon_video.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/radeon_video.c b/src/radeon_video.c index 5d3238bc..a077cdfb 100644 --- a/src/radeon_video.c +++ b/src/radeon_video.c @@ -409,7 +409,7 @@ typedef struct tagREF_TRANSFORM } REF_TRANSFORM; /* Parameters for ITU-R BT.601 and ITU-R BT.709 colour spaces */ -REF_TRANSFORM trans[2] = +static REF_TRANSFORM trans[2] = { {1.1678, 0.0, 1.6007, -0.3929, -0.8154, 2.0232, 0.0}, /* BT.601 */ {1.1678, 0.0, 1.7980, -0.2139, -0.5345, 2.1186, 0.0} /* BT.709 */ @@ -477,7 +477,7 @@ typedef struct tagGAMMA_CURVE_R200 /* Preset gammas */ -GAMMA_CURVE_R100 gamma_curve_r100[8] = +static GAMMA_CURVE_R100 gamma_curve_r100[8] = { /* Gamma 1.0 */ {0x100, 0x0, @@ -545,7 +545,7 @@ GAMMA_CURVE_R100 gamma_curve_r100[8] = 0.9135} }; -GAMMA_CURVE_R200 gamma_curve_r200[8] = +static GAMMA_CURVE_R200 gamma_curve_r200[8] = { /* Gamma 1.0 */ {0x00000040, 0x00000000, -- cgit v1.2.3