From f63ceec4329051cd4e367f0cd72976c99517d3af Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Thu, 29 Jan 2009 21:40:50 +0000 Subject: [PATCH] winex11.drv: Declare some functions static. --- dlls/winex11.drv/graphics.c | 2 +- dlls/winex11.drv/window.c | 4 ++-- dlls/winex11.drv/x11drv.h | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/dlls/winex11.drv/graphics.c b/dlls/winex11.drv/graphics.c index 4f87137f91d..a44de115643 100644 --- a/dlls/winex11.drv/graphics.c +++ b/dlls/winex11.drv/graphics.c @@ -286,7 +286,7 @@ BOOL X11DRV_SetupGCForBrush( X11DRV_PDEVICE *physDev ) * Setup physDev->gc for drawing operations using current pen. * Return FALSE if pen is PS_NULL, TRUE otherwise. */ -BOOL X11DRV_SetupGCForPen( X11DRV_PDEVICE *physDev ) +static BOOL X11DRV_SetupGCForPen( X11DRV_PDEVICE *physDev ) { XGCValues val; UINT rop2 = GetROP2(physDev->hdc); diff --git a/dlls/winex11.drv/window.c b/dlls/winex11.drv/window.c index 31800f76fae..8eccfe1b736 100644 --- a/dlls/winex11.drv/window.c +++ b/dlls/winex11.drv/window.c @@ -1226,7 +1226,7 @@ void make_window_embedded( Display *display, struct x11drv_win_data *data ) * * Convert a rect from client to X window coordinates */ -void X11DRV_window_to_X_rect( struct x11drv_win_data *data, RECT *rect ) +static void X11DRV_window_to_X_rect( struct x11drv_win_data *data, RECT *rect ) { RECT rc; @@ -1827,7 +1827,7 @@ Window X11DRV_get_whole_window( HWND hwnd ) * * Return the X window associated with the client area of a window */ -Window X11DRV_get_client_window( HWND hwnd ) +static Window X11DRV_get_client_window( HWND hwnd ) { struct x11drv_win_data *data = X11DRV_get_win_data( hwnd ); diff --git a/dlls/winex11.drv/x11drv.h b/dlls/winex11.drv/x11drv.h index 955a08c465e..7d0b2ba0438 100644 --- a/dlls/winex11.drv/x11drv.h +++ b/dlls/winex11.drv/x11drv.h @@ -247,7 +247,6 @@ extern RGNDATA *X11DRV_GetRegionData( HRGN hrgn, HDC hdc_lptodp ); extern BOOL X11DRV_SetupGCForPatBlt( X11DRV_PDEVICE *physDev, GC gc, BOOL fMapColors ); extern BOOL X11DRV_SetupGCForBrush( X11DRV_PDEVICE *physDev ); -extern BOOL X11DRV_SetupGCForPen( X11DRV_PDEVICE *physDev ); extern BOOL X11DRV_SetupGCForText( X11DRV_PDEVICE *physDev ); extern INT X11DRV_XWStoDS( X11DRV_PDEVICE *physDev, INT width ); extern INT X11DRV_YWStoDS( X11DRV_PDEVICE *physDev, INT height ); @@ -718,7 +717,6 @@ struct x11drv_win_data extern struct x11drv_win_data *X11DRV_get_win_data( HWND hwnd ); extern struct x11drv_win_data *X11DRV_create_win_data( HWND hwnd ); extern Window X11DRV_get_whole_window( HWND hwnd ); -extern Window X11DRV_get_client_window( HWND hwnd ); extern XIC X11DRV_get_ic( HWND hwnd ); extern int pixelformat_from_fbconfig_id( XID fbconfig_id ); @@ -753,7 +751,6 @@ typedef int (*x11drv_error_callback)( Display *display, XErrorEvent *event, void extern void X11DRV_expect_error( Display *display, x11drv_error_callback callback, void *arg ); extern int X11DRV_check_error(void); -extern void X11DRV_window_to_X_rect( struct x11drv_win_data *data, RECT *rect ); extern void X11DRV_X_to_window_rect( struct x11drv_win_data *data, RECT *rect ); extern void xinerama_init( unsigned int width, unsigned int height );