[PATCH xf86-video-cirrus] Use int scrnIndex instead of int i in macro SCREEN_INIT_ARGS_DECL.
Dave Airlie
airlied at gmail.com
Sat Jun 9 03:29:52 PDT 2012
Applied to cirrus
Thanks,
Dave.
On Sat, Jun 9, 2012 at 10:41 AM, Johannes Obermayr
<johannesobermayr at gmx.de> wrote:
> ---
> 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
> --
> 1.7.7
>
More information about the xorg-devel
mailing list