Commit f63ceec4 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

winex11.drv: Declare some functions static.

parent 3fc04148
...@@ -286,7 +286,7 @@ BOOL X11DRV_SetupGCForBrush( X11DRV_PDEVICE *physDev ) ...@@ -286,7 +286,7 @@ BOOL X11DRV_SetupGCForBrush( X11DRV_PDEVICE *physDev )
* Setup physDev->gc for drawing operations using current pen. * Setup physDev->gc for drawing operations using current pen.
* Return FALSE if pen is PS_NULL, TRUE otherwise. * Return FALSE if pen is PS_NULL, TRUE otherwise.
*/ */
BOOL X11DRV_SetupGCForPen( X11DRV_PDEVICE *physDev ) static BOOL X11DRV_SetupGCForPen( X11DRV_PDEVICE *physDev )
{ {
XGCValues val; XGCValues val;
UINT rop2 = GetROP2(physDev->hdc); UINT rop2 = GetROP2(physDev->hdc);
......
...@@ -1226,7 +1226,7 @@ void make_window_embedded( Display *display, struct x11drv_win_data *data ) ...@@ -1226,7 +1226,7 @@ void make_window_embedded( Display *display, struct x11drv_win_data *data )
* *
* Convert a rect from client to X window coordinates * 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; RECT rc;
...@@ -1827,7 +1827,7 @@ Window X11DRV_get_whole_window( HWND hwnd ) ...@@ -1827,7 +1827,7 @@ Window X11DRV_get_whole_window( HWND hwnd )
* *
* Return the X window associated with the client area of a window * 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 ); struct x11drv_win_data *data = X11DRV_get_win_data( hwnd );
......
...@@ -247,7 +247,6 @@ extern RGNDATA *X11DRV_GetRegionData( HRGN hrgn, HDC hdc_lptodp ); ...@@ -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_SetupGCForPatBlt( X11DRV_PDEVICE *physDev, GC gc, BOOL fMapColors );
extern BOOL X11DRV_SetupGCForBrush( X11DRV_PDEVICE *physDev ); extern BOOL X11DRV_SetupGCForBrush( X11DRV_PDEVICE *physDev );
extern BOOL X11DRV_SetupGCForPen( X11DRV_PDEVICE *physDev );
extern BOOL X11DRV_SetupGCForText( X11DRV_PDEVICE *physDev ); extern BOOL X11DRV_SetupGCForText( X11DRV_PDEVICE *physDev );
extern INT X11DRV_XWStoDS( X11DRV_PDEVICE *physDev, INT width ); extern INT X11DRV_XWStoDS( X11DRV_PDEVICE *physDev, INT width );
extern INT X11DRV_YWStoDS( X11DRV_PDEVICE *physDev, INT height ); extern INT X11DRV_YWStoDS( X11DRV_PDEVICE *physDev, INT height );
...@@ -718,7 +717,6 @@ struct x11drv_win_data ...@@ -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_get_win_data( HWND hwnd );
extern struct x11drv_win_data *X11DRV_create_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_whole_window( HWND hwnd );
extern Window X11DRV_get_client_window( HWND hwnd );
extern XIC X11DRV_get_ic( HWND hwnd ); extern XIC X11DRV_get_ic( HWND hwnd );
extern int pixelformat_from_fbconfig_id( XID fbconfig_id ); extern int pixelformat_from_fbconfig_id( XID fbconfig_id );
...@@ -753,7 +751,6 @@ typedef int (*x11drv_error_callback)( Display *display, XErrorEvent *event, void ...@@ -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 void X11DRV_expect_error( Display *display, x11drv_error_callback callback, void *arg );
extern int X11DRV_check_error(void); 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 X11DRV_X_to_window_rect( struct x11drv_win_data *data, RECT *rect );
extern void xinerama_init( unsigned int width, unsigned int height ); extern void xinerama_init( unsigned int width, unsigned int height );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment