Francois Gouget : comdlg32: Make FD31_FreeOfnW() and FD31_MapOfnStructA() static.
Alexandre Julliard
julliard at winehq.org
Tue Aug 31 11:15:55 CDT 2010
Module: wine
Branch: master
Commit: b520cc1aed87d901ce506e1c240cd146dbe1bb73
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b520cc1aed87d901ce506e1c240cd146dbe1bb73
Author: Francois Gouget <fgouget at free.fr>
Date: Tue Aug 31 11:49:13 2010 +0200
comdlg32: Make FD31_FreeOfnW() and FD31_MapOfnStructA() static.
---
dlls/comdlg32/filedlg31.c | 4 ++--
dlls/comdlg32/filedlg31.h | 2 --
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/dlls/comdlg32/filedlg31.c b/dlls/comdlg32/filedlg31.c
index 89ef0e3..d74b1be 100644
--- a/dlls/comdlg32/filedlg31.c
+++ b/dlls/comdlg32/filedlg31.c
@@ -738,7 +738,7 @@ static LPWSTR FD31_DupToW(LPCSTR str, DWORD size)
* FD31_MapOfnStructA [internal]
* map a 32 bits Ansi structure to a Unicode one
*/
-void FD31_MapOfnStructA(const OPENFILENAMEA *ofnA, LPOPENFILENAMEW ofnW, BOOL open)
+static void FD31_MapOfnStructA(const OPENFILENAMEA *ofnA, LPOPENFILENAMEW ofnW, BOOL open)
{
UNICODE_STRING usBuffer;
@@ -796,7 +796,7 @@ void FD31_MapOfnStructA(const OPENFILENAMEA *ofnA, LPOPENFILENAMEW ofnW, BOOL op
* FD31_FreeOfnW [internal]
* Undo all allocations done by FD31_MapOfnStructA
*/
-void FD31_FreeOfnW(OPENFILENAMEW *ofnW)
+static void FD31_FreeOfnW(OPENFILENAMEW *ofnW)
{
HeapFree(GetProcessHeap(), 0, (LPWSTR) ofnW->lpstrFilter);
HeapFree(GetProcessHeap(), 0, ofnW->lpstrCustomFilter);
diff --git a/dlls/comdlg32/filedlg31.h b/dlls/comdlg32/filedlg31.h
index 79faed7..bb22005 100644
--- a/dlls/comdlg32/filedlg31.h
+++ b/dlls/comdlg32/filedlg31.h
@@ -40,8 +40,6 @@ extern BOOL FD32_GetTemplate(PFD31_DATA lfs);
extern BOOL FD31_Init(void);
extern PFD31_DATA FD31_AllocPrivate(LPARAM lParam, UINT dlgType, BOOL IsUnicode);
extern void FD31_DestroyPrivate(PFD31_DATA lfs);
-extern void FD31_MapOfnStructA(const OPENFILENAMEA *ofnA, LPOPENFILENAMEW ofnW, BOOL open);
-extern void FD31_FreeOfnW(OPENFILENAMEW *ofnW);
extern BOOL FD31_CallWindowProc(const FD31_DATA *lfs, UINT wMsg, WPARAM wParam,
LPARAM lParam);
extern LONG FD31_WMInitDialog(HWND hWnd, WPARAM wParam, LPARAM lParam);
More information about the wine-cvs
mailing list