Francois Gouget : wineps.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: e33e31a7d6b0b4e8df5b2be3d62f8d1aebebbab9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e33e31a7d6b0b4e8df5b2be3d62f8d1aebebbab9

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

wineps.drv: Make some DC functions static.

---

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

diff --git a/dlls/wineps.drv/init.c b/dlls/wineps.drv/init.c
index 84d4b45..5a1af9c 100644
--- a/dlls/wineps.drv/init.c
+++ b/dlls/wineps.drv/init.c
@@ -301,7 +301,7 @@ static LPDEVMODEA DEVMODEdupWtoA(HANDLE heap, const DEVMODEW *dmW)
 /**********************************************************************
  *	     PSDRV_CreateDC
  */
-BOOL PSDRV_CreateDC( HDC hdc, PHYSDEV *pdev, LPCWSTR driver, LPCWSTR device,
+static BOOL PSDRV_CreateDC( HDC hdc, PHYSDEV *pdev, LPCWSTR driver, LPCWSTR device,
                      LPCWSTR output, const DEVMODEW* initData )
 {
     PSDRV_PDEVICE *physDev;
@@ -380,7 +380,7 @@ BOOL PSDRV_CreateDC( HDC hdc, PHYSDEV *pdev, LPCWSTR driver, LPCWSTR device,
 /**********************************************************************
  *	     PSDRV_DeleteDC
  */
-BOOL PSDRV_DeleteDC( PHYSDEV dev )
+static BOOL PSDRV_DeleteDC( PHYSDEV dev )
 {
     PSDRV_PDEVICE *physDev = get_psdrv_dev( dev );
 
@@ -397,7 +397,7 @@ BOOL PSDRV_DeleteDC( PHYSDEV dev )
 /**********************************************************************
  *	     ResetDC   (WINEPS.@)
  */
-HDC PSDRV_ResetDC( PHYSDEV dev, const DEVMODEW *lpInitData )
+static HDC PSDRV_ResetDC( PHYSDEV dev, const DEVMODEW *lpInitData )
 {
     PSDRV_PDEVICE *physDev = get_psdrv_dev( dev );
 
@@ -413,7 +413,7 @@ HDC PSDRV_ResetDC( PHYSDEV dev, const DEVMODEW *lpInitData )
 /***********************************************************************
  *           GetDeviceCaps    (WINEPS.@)
  */
-INT PSDRV_GetDeviceCaps( PHYSDEV dev, INT cap )
+static INT PSDRV_GetDeviceCaps( PHYSDEV dev, INT cap )
 {
     PSDRV_PDEVICE *physDev = get_psdrv_dev( dev );
 




More information about the wine-cvs mailing list