Commit 7d81ca1c authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

winhlp32: Make some functions static in winhelp.c.

parent 2364498d
...@@ -194,7 +194,7 @@ BOOL WINHELP_GetOpenFileName(LPSTR lpszFile, int len) ...@@ -194,7 +194,7 @@ BOOL WINHELP_GetOpenFileName(LPSTR lpszFile, int len)
* *
* WINHELP_MessageBoxIDS_s * 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 text[MAX_STRING_LEN];
CHAR newtext[MAX_STRING_LEN + MAX_PATH]; CHAR newtext[MAX_STRING_LEN + MAX_PATH];
...@@ -1164,7 +1164,7 @@ struct index_data ...@@ -1164,7 +1164,7 @@ struct index_data
* WINHELP_IndexDlgProc * 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; static struct index_data* id;
int sel; int sel;
...@@ -1232,7 +1232,7 @@ INT_PTR CALLBACK WINHELP_IndexDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM ...@@ -1232,7 +1232,7 @@ INT_PTR CALLBACK WINHELP_IndexDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM
* WINHELP_SearchDlgProc * 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; static struct index_data* id;
......
...@@ -149,7 +149,6 @@ BOOL WINHELP_OpenHelpWindow(HLPFILE_PAGE* (*)(HLPFILE*, LONG, ULONG*), ...@@ -149,7 +149,6 @@ BOOL WINHELP_OpenHelpWindow(HLPFILE_PAGE* (*)(HLPFILE*, LONG, ULONG*),
BOOL WINHELP_GetOpenFileName(LPSTR, int); BOOL WINHELP_GetOpenFileName(LPSTR, int);
BOOL WINHELP_CreateIndexWindow(BOOL); BOOL WINHELP_CreateIndexWindow(BOOL);
void WINHELP_DeleteBackSet(WINHELP_WINDOW*); void WINHELP_DeleteBackSet(WINHELP_WINDOW*);
INT WINHELP_MessageBoxIDS_s(UINT, LPCSTR, UINT, WORD);
HLPFILE* WINHELP_LookupHelpFile(LPCSTR lpszFile); HLPFILE* WINHELP_LookupHelpFile(LPCSTR lpszFile);
HLPFILE_WINDOWINFO* WINHELP_GetWindowInfo(HLPFILE* hlpfile, LPCSTR name); HLPFILE_WINDOWINFO* WINHELP_GetWindowInfo(HLPFILE* hlpfile, LPCSTR name);
void WINHELP_LayoutMainWindow(WINHELP_WINDOW* win); void WINHELP_LayoutMainWindow(WINHELP_WINDOW* win);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment