Andrew Talbot : comdlg32: Declare a function static.

Alexandre Julliard julliard at winehq.org
Fri Jan 2 08:25:52 CST 2009


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

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Fri Jan  2 13:12:28 2009 +0000

comdlg32: Declare a function static.

---

 dlls/comdlg32/cdlg.h     |    2 --
 dlls/comdlg32/colordlg.c |    2 +-
 2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/comdlg32/cdlg.h b/dlls/comdlg32/cdlg.h
index c85f877..5417423 100644
--- a/dlls/comdlg32/cdlg.h
+++ b/dlls/comdlg32/cdlg.h
@@ -193,8 +193,6 @@ BOOL CC_HookCallChk( const CHOOSECOLORW *lpcc );
 int CC_MouseCheckResultWindow( HWND hDlg, LPARAM lParam );
 LRESULT CC_WMLButtonDown( HWND hDlg, WPARAM wParam, LPARAM lParam );
 LRESULT CC_WMLButtonUp( HWND hDlg, WPARAM wParam, LPARAM lParam );
-LRESULT CC_WMCommand( HWND hDlg, WPARAM wParam, LPARAM lParam, WORD 
-						notifyCode, HWND hwndCtl );
 LRESULT CC_WMMouseMove( HWND hDlg, LPARAM lParam );
 LRESULT CC_WMPaint( HWND hDlg, WPARAM wParam, LPARAM lParam );
 void CC_SwitchToFullSize( HWND hDlg, COLORREF result, LPCRECT lprect );
diff --git a/dlls/comdlg32/colordlg.c b/dlls/comdlg32/colordlg.c
index d4a43af..52439d3 100644
--- a/dlls/comdlg32/colordlg.c
+++ b/dlls/comdlg32/colordlg.c
@@ -955,7 +955,7 @@ static LONG CC_WMInitDialog( HWND hDlg, WPARAM wParam, LPARAM lParam )
 /***********************************************************************
  *                              CC_WMCommand                  [internal]
  */
-LRESULT CC_WMCommand( HWND hDlg, WPARAM wParam, LPARAM lParam, WORD notifyCode, HWND hwndCtl )
+static LRESULT CC_WMCommand( HWND hDlg, WPARAM wParam, LPARAM lParam, WORD notifyCode, HWND hwndCtl )
 {
     int  r, g, b, i, xx;
     UINT cokmsg;




More information about the wine-cvs mailing list