Francois Gouget : winex11.drv: Make some DC functions static.

Alexandre Julliard julliard at winehq.org
Thu Jul 14 13:08:18 CDT 2011


Module: wine
Branch: master
Commit: 60ffc296f0e58d6a36ae806bfbc2a74dbbf7db3b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=60ffc296f0e58d6a36ae806bfbc2a74dbbf7db3b

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Jul 14 13:14:36 2011 +0200

winex11.drv: Make some DC functions static.

---

 dlls/winex11.drv/init.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/winex11.drv/init.c b/dlls/winex11.drv/init.c
index 5562fb9..2541df0 100644
--- a/dlls/winex11.drv/init.c
+++ b/dlls/winex11.drv/init.c
@@ -118,7 +118,7 @@ void X11DRV_GDI_Finalize(void)
 /**********************************************************************
  *	     X11DRV_CreateDC
  */
-BOOL X11DRV_CreateDC( HDC hdc, PHYSDEV *pdev, LPCWSTR driver, LPCWSTR device,
+static BOOL X11DRV_CreateDC( HDC hdc, PHYSDEV *pdev, LPCWSTR driver, LPCWSTR device,
                       LPCWSTR output, const DEVMODEW* initData )
 {
     X11DRV_PDEVICE *physDev;
@@ -166,7 +166,7 @@ BOOL X11DRV_CreateDC( HDC hdc, PHYSDEV *pdev, LPCWSTR driver, LPCWSTR device,
 /**********************************************************************
  *	     X11DRV_DeleteDC
  */
-BOOL X11DRV_DeleteDC( PHYSDEV dev )
+static BOOL X11DRV_DeleteDC( PHYSDEV dev )
 {
     X11DRV_PDEVICE *physDev = get_x11drv_dev( dev );
 
@@ -184,7 +184,7 @@ BOOL X11DRV_DeleteDC( PHYSDEV dev )
 /***********************************************************************
  *           GetDeviceCaps    (X11DRV.@)
  */
-INT X11DRV_GetDeviceCaps( PHYSDEV dev, INT cap )
+static INT X11DRV_GetDeviceCaps( PHYSDEV dev, INT cap )
 {
     switch(cap)
     {
@@ -285,7 +285,7 @@ INT X11DRV_GetDeviceCaps( PHYSDEV dev, INT cap )
 /**********************************************************************
  *           ExtEscape  (X11DRV.@)
  */
-INT X11DRV_ExtEscape( PHYSDEV dev, INT escape, INT in_count, LPCVOID in_data,
+static INT X11DRV_ExtEscape( PHYSDEV dev, INT escape, INT in_count, LPCVOID in_data,
                       INT out_count, LPVOID out_data )
 {
     X11DRV_PDEVICE *physDev = get_x11drv_dev( dev );




More information about the wine-cvs mailing list