[PATCH] wshom.ocx: mark 1 function as static, 1 as hidden

Marcus Meissner meissner at suse.de
Mon Jan 2 14:57:47 CST 2012


---
 dlls/wshom.ocx/wshom_main.c    |    1 +
 dlls/wshom.ocx/wshom_private.h |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/wshom.ocx/wshom_main.c b/dlls/wshom.ocx/wshom_main.c
index c76b815..929b8f4 100644
--- a/dlls/wshom.ocx/wshom_main.c
+++ b/dlls/wshom.ocx/wshom_main.c
@@ -79,6 +79,7 @@ HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo)
     return S_OK;
 }
 
+static
 void release_typelib(void)
 {
     unsigned i;
diff --git a/dlls/wshom.ocx/wshom_private.h b/dlls/wshom.ocx/wshom_private.h
index 1b340ca..11393a4 100644
--- a/dlls/wshom.ocx/wshom_private.h
+++ b/dlls/wshom.ocx/wshom_private.h
@@ -32,6 +32,6 @@ typedef enum tid_t {
     LAST_tid
 } tid_t;
 
-HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo);
+HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo) DECLSPEC_HIDDEN;
 
 HRESULT WINAPI WshShellFactory_CreateInstance(IClassFactory*,IUnknown*,REFIID,void**) DECLSPEC_HIDDEN;
-- 
1.7.1




More information about the wine-patches mailing list