Andrew Talbot : winex11.drv: Declare some functions static.
Alexandre Julliard
julliard at winehq.org
Fri Jan 30 07:58:13 CST 2009
Module: wine
Branch: master
Commit: f63ceec4329051cd4e367f0cd72976c99517d3af
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f63ceec4329051cd4e367f0cd72976c99517d3af
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Thu Jan 29 21:40:50 2009 +0000
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 4f87137..a44de11 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 31800f7..8eccfe1 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 955a08c..7d0b2ba 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 );
More information about the wine-cvs
mailing list