Andrew Talbot : shell32: Declare some functions static.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Feb 7 04:53:12 CST 2007


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

Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date:   Tue Feb  6 22:04:31 2007 +0000

shell32: Declare some functions static.

---

 dlls/shell32/dialogs.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/shell32/dialogs.c b/dlls/shell32/dialogs.c
index e5f06c6..eb5c1a1 100644
--- a/dlls/shell32/dialogs.c
+++ b/dlls/shell32/dialogs.c
@@ -52,8 +52,8 @@ typedef struct
 typedef BOOL (*LPFNOFN) (OPENFILENAMEA *) ;
 
 WINE_DEFAULT_DEBUG_CHANNEL(shell);
-INT_PTR CALLBACK RunDlgProc (HWND, UINT, WPARAM, LPARAM) ;
-void FillList (HWND, char *) ;
+static INT_PTR CALLBACK RunDlgProc (HWND, UINT, WPARAM, LPARAM) ;
+static void FillList (HWND, char *) ;
 
 
 /*************************************************************************
@@ -116,7 +116,7 @@ void WINAPI RunFileDlg(
 }
 
 /* Dialog procedure for RunFileDlg */
-INT_PTR CALLBACK RunDlgProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK RunDlgProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
     {
     int ic ;
     char *psz, szMsg[256] ;
@@ -235,7 +235,7 @@ INT_PTR CALLBACK RunDlgProc (HWND hwnd,
     }
 
 /* This grabs the MRU list from the registry and fills the combo for the "Run" dialog above */
-void FillList (HWND hCb, char *pszLatest)
+static void FillList (HWND hCb, char *pszLatest)
     {
     HKEY hkey ;
 /*    char szDbgMsg[256] = "" ; */




More information about the wine-cvs mailing list