Module: wine Branch: master Commit: f06c01e230df3451757bc07523bdfb8f8f97c85d URL: http://source.winehq.org/git/wine.git/?a=commit;h=f06c01e230df3451757bc07523...
Author: Andrew Talbot Andrew.Talbot@talbotville.com Date: Mon Jan 29 18:12:56 2007 +0000
shdocvw: Declare some functions static.
---
dlls/shdocvw/navigate.c | 4 ++-- dlls/shdocvw/shdocvw_main.c | 2 +- dlls/shdocvw/shlinstobj.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/dlls/shdocvw/navigate.c b/dlls/shdocvw/navigate.c index dcbbb24..3d3ff61 100644 --- a/dlls/shdocvw/navigate.c +++ b/dlls/shdocvw/navigate.c @@ -548,8 +548,8 @@ HRESULT navigate_url(DocHost *This, BSTR return hres; }
-HRESULT navigate_hlink(DocHost *This, IMoniker *mon, IBindCtx *bindctx, - IBindStatusCallback *callback) +static HRESULT navigate_hlink(DocHost *This, IMoniker *mon, IBindCtx *bindctx, + IBindStatusCallback *callback) { IHttpNegotiate *http_negotiate; LPWSTR url = NULL; diff --git a/dlls/shdocvw/shdocvw_main.c b/dlls/shdocvw/shdocvw_main.c index 89956ac..551fb3e 100644 --- a/dlls/shdocvw/shdocvw_main.c +++ b/dlls/shdocvw/shdocvw_main.c @@ -126,7 +126,7 @@ HRESULT WINAPI DllInstall(BOOL bInstall, * * makes sure the handle to shell32 is valid */ - BOOL SHDOCVW_LoadShell32(void) +static BOOL SHDOCVW_LoadShell32(void) { if (SHDOCVW_hshell32) return TRUE; diff --git a/dlls/shdocvw/shlinstobj.c b/dlls/shdocvw/shlinstobj.c index 6a39fe9..a697918 100644 --- a/dlls/shdocvw/shlinstobj.c +++ b/dlls/shdocvw/shlinstobj.c @@ -169,7 +169,7 @@ static const IPropertyBagVtbl RegistryPr RegistryPropertyBag_IPropertyBag_Write };
-HRESULT RegistryPropertyBag_Constructor(HKEY hInitPropertyBagKey, REFIID riid, LPVOID *ppvObject) { +static HRESULT RegistryPropertyBag_Constructor(HKEY hInitPropertyBagKey, REFIID riid, LPVOID *ppvObject) { HRESULT hr = E_FAIL; RegistryPropertyBag *pRegistryPropertyBag;
@@ -313,8 +313,8 @@ static const IClassFactoryVtbl InstanceO InstanceObjectFactory_IClassFactory_LockServer };
-HRESULT InstanceObjectFactory_Constructor(REFCLSID rclsid, IPropertyBag *pPropertyBag, REFIID riid, - LPVOID *ppvObject) +static HRESULT InstanceObjectFactory_Constructor(REFCLSID rclsid, IPropertyBag *pPropertyBag, + REFIID riid, LPVOID *ppvObject) { InstanceObjectFactory *pInstanceObjectFactory; HRESULT hr = E_FAIL;