summaryrefslogtreecommitdiff
path: root/src/compat-api.h
diff options
context:
space:
mode:
authorJohannes Obermayr <johannesobermayr@gmx.de>2012-06-09 11:29:02 +0100
committerDave Airlie <airlied@redhat.com>2012-06-09 11:29:02 +0100
commit7ae890b29b12609d410f5558640bb0407b0fdd2d (patch)
treed6f9ef98485965131b300effe555d1943f9fdb9c /src/compat-api.h
parentbab8041291ff81c81a98aca385cce561ecddc9d1 (diff)
use int scrnIndex instead of int i in macro SCREEN_INIT_ARGS_DECL.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/compat-api.h')
-rw-r--r--src/compat-api.h2
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