Commit a9532c96 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

oleview: Make some functions static.

parent df05a90a
......@@ -350,7 +350,7 @@ static void CreateTabCtrl(HWND hWnd)
0, 0, 0, 0, details.hTab, NULL, globals.hMainInst, NULL);
}
LRESULT CALLBACK DetailsProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static LRESULT CALLBACK DetailsProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
int sel;
......
......@@ -63,7 +63,7 @@ static IUnknown *GetInterface(void)
return unk;
}
INT_PTR CALLBACK InterfaceViewerProc(HWND hDlgWnd, UINT uMsg,
static INT_PTR CALLBACK InterfaceViewerProc(HWND hDlgWnd, UINT uMsg,
WPARAM wParam, LPARAM lParam)
{
DIALOG_INFO *di;
......
......@@ -26,7 +26,7 @@ static WCHAR wszFormat[] = { '<','o','b','j','e','c','t','\n',' ',' ',' ',
'c','l','a','s','s','i','d','=','\"','c','l','s','i','d',':','%','s','\"','\n',
'>','\n','<','/','o','b','j','e','c','t','>','\0' };
INT_PTR CALLBACK SysConfProc(HWND hDlgWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static INT_PTR CALLBACK SysConfProc(HWND hDlgWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
HKEY hKey;
WCHAR buffer[MAX_LOAD_STRING];
......@@ -98,7 +98,7 @@ INT_PTR CALLBACK SysConfProc(HWND hDlgWnd, UINT uMsg, WPARAM wParam, LPARAM lPar
return FALSE;
}
INT_PTR CALLBACK CreateInstOnProc(HWND hDlgWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static INT_PTR CALLBACK CreateInstOnProc(HWND hDlgWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
HWND hEdit;
......@@ -431,7 +431,7 @@ static void UpdateStatusBar(int itemID)
SendMessage(globals.hStatusBar, SB_SETTEXT, 0, (LPARAM)info);
}
LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg,
static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg,
WPARAM wParam, LPARAM lParam)
{
switch(uMsg)
......
......@@ -57,7 +57,7 @@ static void DrawSplitMoving(HWND hWnd, int x)
ReleaseDC(hWnd, hdc);
}
LRESULT CALLBACK PaneProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static LRESULT CALLBACK PaneProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
POINT pt;
PANE *pane = (PANE*)GetMenu(hWnd);
......
......@@ -646,7 +646,7 @@ void AddTree(void)
AddCOMandAll();
}
LRESULT CALLBACK TreeProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static LRESULT CALLBACK TreeProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch(uMsg)
{
......
......@@ -189,12 +189,12 @@ static void GetSaveIdlAsPath(void)
SaveIdl(wszPath);
}
void AddToStrW(WCHAR *wszDest, const WCHAR *wszSource)
static void AddToStrW(WCHAR *wszDest, const WCHAR *wszSource)
{
lstrcpyW(&wszDest[lstrlenW(wszDest)], wszSource);
}
void AddToTLDataStrW(TYPELIB_DATA *pTLData, const WCHAR *wszSource)
static void AddToTLDataStrW(TYPELIB_DATA *pTLData, const WCHAR *wszSource)
{
int SourceLen = lstrlenW(wszSource);
......@@ -205,7 +205,7 @@ void AddToTLDataStrW(TYPELIB_DATA *pTLData, const WCHAR *wszSource)
pTLData->idlLen += SourceLen;
}
void AddToTLDataStrWithTabsW(TYPELIB_DATA *pTLData, WCHAR *wszSource)
static void AddToTLDataStrWithTabsW(TYPELIB_DATA *pTLData, WCHAR *wszSource)
{
int lineLen = lstrlenW(wszSource);
int newLinesNo = 0;
......@@ -1552,7 +1552,7 @@ static void EmptyTLTree(void)
}
}
LRESULT CALLBACK TypeLibProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
static LRESULT CALLBACK TypeLibProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch(uMsg)
{
......
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