Andrew Talbot : comdlg32: Declare some items static.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jan 4 04:45:04 CST 2007
Module: wine
Branch: master
Commit: 6bb00a3c0ec3b1bf430363dafd24b2026c8582e3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6bb00a3c0ec3b1bf430363dafd24b2026c8582e3
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Wed Jan 3 13:47:44 2007 +0000
comdlg32: Declare some items static.
---
dlls/comdlg32/cdlg32.c | 4 ++--
dlls/comdlg32/filedlg.c | 2 +-
dlls/comdlg32/fontdlg.c | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dlls/comdlg32/cdlg32.c b/dlls/comdlg32/cdlg32.c
index 91144a8..57f3036 100644
--- a/dlls/comdlg32/cdlg32.c
+++ b/dlls/comdlg32/cdlg32.c
@@ -38,8 +38,8 @@ HINSTANCE COMDLG32_hInstance = 0;
static DWORD COMDLG32_TlsIndex = TLS_OUT_OF_INDEXES;
-HINSTANCE SHELL32_hInstance = 0;
-HINSTANCE SHFOLDER_hInstance = 0;
+static HINSTANCE SHELL32_hInstance;
+static HINSTANCE SHFOLDER_hInstance;
/* ITEMIDLIST */
LPITEMIDLIST (WINAPI *COMDLG32_PIDL_ILClone) (LPCITEMIDLIST);
diff --git a/dlls/comdlg32/filedlg.c b/dlls/comdlg32/filedlg.c
index 2addb9c..5fcdfd0 100644
--- a/dlls/comdlg32/filedlg.c
+++ b/dlls/comdlg32/filedlg.c
@@ -227,7 +227,7 @@ static LPITEMIDLIST GetPidlFromName(IShe
static void *MemAlloc(UINT size);
static void MemFree(void *mem);
-INT_PTR CALLBACK FileOpenDlgProc95(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
+static INT_PTR CALLBACK FileOpenDlgProc95(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
LRESULT SendCustomDlgNotificationMessage(HWND hwndParentDlg, UINT uCode);
static INT_PTR FILEDLG95_HandleCustomDialogMessages(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
static BOOL FILEDLG95_OnOpenMultipleFiles(HWND hwnd, LPWSTR lpstrFileList, UINT nFileCount, UINT sizeUsed);
diff --git a/dlls/comdlg32/fontdlg.c b/dlls/comdlg32/fontdlg.c
index 510d4de..cd36ed3 100644
--- a/dlls/comdlg32/fontdlg.c
+++ b/dlls/comdlg32/fontdlg.c
@@ -47,8 +47,8 @@ static const WCHAR chooseFontW[] = {'C',
static HIMAGELIST himlTT = 0;
#define TTBITMAP_XSIZE 20 /* x-size of the bitmaps */
-INT_PTR CALLBACK FormatCharDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
-INT_PTR CALLBACK FormatCharDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+static INT_PTR CALLBACK FormatCharDlgProcA(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
+static INT_PTR CALLBACK FormatCharDlgProcW(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
/* There is a table here of all charsets, and the sample text for each.
* There is a second table that translates a charset into an index into
More information about the wine-cvs
mailing list