summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-05-05 13:36:19 -0700
committerKeith Packard <keithp@keithp.com>2008-05-05 13:36:19 -0700
commit417f86d80525d2f5038628afba8f70f8c0fecca3 (patch)
tree32eb47fe0da74b9652a73675249603b5bc02d80d
parent587dc5bfc4ef32942bd7511f932a3a2e2fcdccb0 (diff)
Move a declaration under #ifndef HAVE_FREE_SHADOW
-rw-r--r--src/i830_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index aca01dbb..6e5e92c4 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -3135,8 +3135,8 @@ I830LeaveVT(int scrnIndex, int flags)
{
ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
I830Ptr pI830 = I830PTR(pScrn);
- xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn);
#ifndef HAVE_FREE_SHADOW
+ xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn);
int o;
#endif