summaryrefslogtreecommitdiff
path: root/src/riva_hw.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-07-11 02:29:58 +0000
committerAdam Jackson <ajax@nwnk.net>2005-07-11 02:29:58 +0000
commit74772a7dc49e34229497441fbbf2631bfb259b39 (patch)
tree3f2ebe3b057a58887b7878cfe5b03ebadf40c3f2 /src/riva_hw.c
parent80ac36ec4fbbd9a4aae1bde01fe6ebc1088fa8cb (diff)
Prep for modular builds by adding guarded #include "config.h" everywhere.XORG-6_8_99_900XORG-6_8_99_16XORG-6_8_99_15
Diffstat (limited to 'src/riva_hw.c')
-rw-r--r--src/riva_hw.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/riva_hw.c b/src/riva_hw.c
index 9f50450..1b89264 100644
--- a/src/riva_hw.c
+++ b/src/riva_hw.c
@@ -36,7 +36,11 @@
|* those rights set forth herein. *|
|* *|
\***************************************************************************/
-/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/riva_hw.c,v 1.51 2003/07/31 20:24:30 mvojkovi Exp $ */
+/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/nv/riva_hw.c,v 1.51tsi Exp $ */
+
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "riva_local.h"
#include "compiler.h"
@@ -169,14 +173,13 @@ static int nv3_iterate(nv3_fifo_info *res_info, nv3_sim_state * state, nv3_arb_i
int mburst_size = 32;
int mmisses, gmisses, vmisses;
int misses;
- int vlwm, glwm, mlwm;
+ int vlwm, glwm;
int last, next, cur;
int max_gfsize ;
long ns;
vlwm = 0;
glwm = 0;
- mlwm = 0;
vfsize = 0;
gfsize = 0;
cur = ainfo->cur;