From c223994b7a78836a03623b92a156b569737f06dd Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Fri, 13 Mar 2015 20:04:52 +0100 Subject: [PATCH] winex11.drv: Make X11DRV_XROPfunction static. --- dlls/winex11.drv/graphics.c | 2 +- dlls/winex11.drv/x11drv.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/winex11.drv/graphics.c b/dlls/winex11.drv/graphics.c index 769fa8aca1c..f23a502c45d 100644 --- a/dlls/winex11.drv/graphics.c +++ b/dlls/winex11.drv/graphics.c @@ -51,7 +51,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(graphics); #define ABS(x) ((x)<0?(-(x)):(x)) /* ROP code to GC function conversion */ -const int X11DRV_XROPfunction[16] = +static const int X11DRV_XROPfunction[16] = { GXclear, /* R2_BLACK */ GXnor, /* R2_NOTMERGEPEN */ diff --git a/dlls/winex11.drv/x11drv.h b/dlls/winex11.drv/x11drv.h index 533af2c7cb4..da13c6efc69 100644 --- a/dlls/winex11.drv/x11drv.h +++ b/dlls/winex11.drv/x11drv.h @@ -214,8 +214,6 @@ extern BOOL X11DRV_SetupGCForBrush( X11DRV_PDEVICE *physDev ) DECLSPEC_HIDDEN; extern INT X11DRV_XWStoDS( HDC hdc, INT width ) DECLSPEC_HIDDEN; extern INT X11DRV_YWStoDS( HDC hdc, INT height ) DECLSPEC_HIDDEN; -extern const int X11DRV_XROPfunction[]; - extern BOOL client_side_graphics DECLSPEC_HIDDEN; extern BOOL client_side_with_render DECLSPEC_HIDDEN; extern BOOL shape_layered_windows DECLSPEC_HIDDEN; -- 2.11.4.GIT