summaryrefslogtreecommitdiff
path: root/src/legacy_output.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-03-19 17:58:34 -0400
committerAlex Deucher <alex@samba.(none)>2008-03-19 17:58:34 -0400
commitc83827b4d2b6f03c54429e757a756eb99ff8be6b (patch)
tree92c68452b28649227b89079c8ccaf841a63aa607 /src/legacy_output.c
parentbed9754ad21d6c0a7f61067b04ba31c430a7cecb (diff)
[PATCH] Compile warning fixes.
Minor changes to avoid declarations mixed with code. Ansified functions with empty prototype to specify they don't receive arguments. Added some prototypes to radeon.h, and major reorder on radeon.h adding prototypes in alphabetical order and specifying to file that defines it.
Diffstat (limited to 'src/legacy_output.c')
-rw-r--r--src/legacy_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/legacy_output.c b/src/legacy_output.c
index 0de13df4..9dc72869 100644
--- a/src/legacy_output.c
+++ b/src/legacy_output.c
@@ -675,9 +675,9 @@ RADEONEnableDisplay(xf86OutputPtr output, BOOL bEnable)
unsigned long tmp;
RADEONOutputPrivatePtr radeon_output;
int tv_dac_change = 0, o;
- radeon_output = output->driver_private;
xf86CrtcConfigPtr xf86_config = XF86_CRTC_CONFIG_PTR(pScrn);
+ radeon_output = output->driver_private;
for (o = 0; o < xf86_config->num_output; o++) {
if (output == xf86_config->output[o]) {
break;