shdocvw: Declare some functions static

Andrew Talbot Andrew.Talbot at talbotville.com
Mon Jan 29 12:12:56 CST 2007


Changelog:
    shdocvw: Declare some functions static.

diff -urN a/dlls/shdocvw/navigate.c b/dlls/shdocvw/navigate.c
--- a/dlls/shdocvw/navigate.c	2006-11-29 17:26:14.000000000 +0000
+++ b/dlls/shdocvw/navigate.c	2007-01-29 17:51:47.000000000 +0000
@@ -548,8 +548,8 @@
     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 -urN a/dlls/shdocvw/shdocvw_main.c b/dlls/shdocvw/shdocvw_main.c
--- a/dlls/shdocvw/shdocvw_main.c	2006-10-06 12:37:25.000000000 +0100
+++ b/dlls/shdocvw/shdocvw_main.c	2007-01-29 17:52:28.000000000 +0000
@@ -126,7 +126,7 @@
  *
  * makes sure the handle to shell32 is valid
  */
- BOOL SHDOCVW_LoadShell32(void)
+static BOOL SHDOCVW_LoadShell32(void)
 {
      if (SHDOCVW_hshell32)
        return TRUE;
diff -urN a/dlls/shdocvw/shlinstobj.c b/dlls/shdocvw/shlinstobj.c
--- a/dlls/shdocvw/shlinstobj.c	2006-11-07 17:36:36.000000000 +0000
+++ b/dlls/shdocvw/shlinstobj.c	2007-01-29 17:53:57.000000000 +0000
@@ -169,7 +169,7 @@
     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 @@
     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;



More information about the wine-patches mailing list