[PATCH xf86-video-cirrus] Use int scrnIndex instead of int i in macro SCREEN_INIT_ARGS_DECL.

Johannes Obermayr johannesobermayr at gmx.de
Sat Jun 9 02:41:59 PDT 2012

 src/compat-api.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/compat-api.h b/src/compat-api.h
index 6bc946f..205ac59 100644
--- a/src/compat-api.h
+++ b/src/compat-api.h
@@ -46,7 +46,7 @@
 #define SCREEN_ARG_TYPE int
 #define SCREEN_PTR(arg1) ScreenPtr pScreen = screenInfo.screens[(arg1)]
-#define SCREEN_INIT_ARGS_DECL int i, ScreenPtr pScreen, int argc, char **argv
+#define SCREEN_INIT_ARGS_DECL int scrnIndex, ScreenPtr pScreen, int argc, char **argv
 #define BLOCKHANDLER_ARGS_DECL int arg, pointer blockData, pointer pTimeout, pointer pReadmask
 #define BLOCKHANDLER_ARGS arg, blockData, pTimeout, pReadmask

More information about the xorg-devel mailing list