summaryrefslogtreecommitdiff
path: root/src/rhd_driver.c
diff options
context:
space:
mode:
authorMarc Dietrich <marvin24@gmx.de>2009-08-28 09:07:34 +0200
committerMatthias Hopf <mhopf@suse.de>2009-09-02 15:55:24 +0200
commitfa6312784e3a03afb17ec1ea5e0e1912ca34d2b9 (patch)
treef582ed3c69798d312eda24957dd6ea043463cf32 /src/rhd_driver.c
parentf7ad9380b7e5af6b0c85a5423ab5b7a31f08fd8c (diff)
silence some compiler warnings
This patch silences some compile warnings mostly comming from C++ style comments. I left the Atombios stuff untouched.
Diffstat (limited to 'src/rhd_driver.c')
-rw-r--r--src/rhd_driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rhd_driver.c b/src/rhd_driver.c
index ab9cb9a..e971415 100644
--- a/src/rhd_driver.c
+++ b/src/rhd_driver.c
@@ -1077,7 +1077,9 @@ RHDScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
ScrnInfoPtr pScrn;
RHDPtr rhdPtr;
VisualPtr visual;
+#ifndef XSERVER_LIBPCIACCESS
unsigned int racflag = 0;
+#endif
#ifdef USE_DRI
Bool DriScreenInited = FALSE;
#endif