winhlp32: Make some functions static in winhelp.c.
This commit is contained in:
parent
2364498da3
commit
7d81ca1c31
|
@ -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;
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue