oleview: Make some functions static.

This commit is contained in:
Francois Gouget 2009-01-07 12:23:42 +01:00 committed by Alexandre Julliard
parent df05a90a3f
commit a9532c962a
6 changed files with 11 additions and 11 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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)

View File

@ -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);

View File

@ -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)
{

View File

@ -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)
{