Francois Gouget : winhlp32: Make some functions static in winhelp.c.
Alexandre Julliard
julliard at winehq.org
Thu Jan 8 08:31:20 CST 2009
Module: wine
Branch: master
Commit: 7d81ca1c3158d6f384a06828c6f2558f18d8c701
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7d81ca1c3158d6f384a06828c6f2558f18d8c701
Author: Francois Gouget <fgouget at free.fr>
Date: Thu Jan 8 14:13:30 2009 +0100
winhlp32: Make some functions static in winhelp.c.
---
programs/winhlp32/winhelp.c | 6 +++---
programs/winhlp32/winhelp.h | 1 -
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/programs/winhlp32/winhelp.c b/programs/winhlp32/winhelp.c
index ebcd7c9..7cb4a12 100644
--- a/programs/winhlp32/winhelp.c
+++ b/programs/winhlp32/winhelp.c
@@ -194,7 +194,7 @@ BOOL WINHELP_GetOpenFileName(LPSTR lpszFile, int len)
*
* WINHELP_MessageBoxIDS_s
*/
-INT WINHELP_MessageBoxIDS_s(UINT ids_text, LPCSTR str, UINT ids_title, WORD type)
+static INT WINHELP_MessageBoxIDS_s(UINT ids_text, LPCSTR str, UINT ids_title, WORD type)
{
CHAR text[MAX_STRING_LEN];
CHAR newtext[MAX_STRING_LEN + MAX_PATH];
@@ -1164,7 +1164,7 @@ struct index_data
* WINHELP_IndexDlgProc
*
*/
-INT_PTR CALLBACK WINHELP_IndexDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK WINHELP_IndexDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
static struct index_data* id;
int sel;
@@ -1232,7 +1232,7 @@ INT_PTR CALLBACK WINHELP_IndexDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM
* WINHELP_SearchDlgProc
*
*/
-INT_PTR CALLBACK WINHELP_SearchDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
+static INT_PTR CALLBACK WINHELP_SearchDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
static struct index_data* id;
diff --git a/programs/winhlp32/winhelp.h b/programs/winhlp32/winhelp.h
index f06b082..feaf637 100644
--- a/programs/winhlp32/winhelp.h
+++ b/programs/winhlp32/winhelp.h
@@ -149,7 +149,6 @@ BOOL WINHELP_OpenHelpWindow(HLPFILE_PAGE* (*)(HLPFILE*, LONG, ULONG*),
BOOL WINHELP_GetOpenFileName(LPSTR, int);
BOOL WINHELP_CreateIndexWindow(BOOL);
void WINHELP_DeleteBackSet(WINHELP_WINDOW*);
-INT WINHELP_MessageBoxIDS_s(UINT, LPCSTR, UINT, WORD);
HLPFILE* WINHELP_LookupHelpFile(LPCSTR lpszFile);
HLPFILE_WINDOWINFO* WINHELP_GetWindowInfo(HLPFILE* hlpfile, LPCSTR name);
void WINHELP_LayoutMainWindow(WINHELP_WINDOW* win);
More information about the wine-cvs
mailing list