Andrew Talbot : mshtml: Declare a function static.

Alexandre Julliard julliard at winehq.org
Fri Jan 9 09:52:28 CST 2009


Module: wine
Branch: master
Commit: 3b26d50d17045fb41b690755f5bec8de7c1a6386
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3b26d50d17045fb41b690755f5bec8de7c1a6386

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Thu Jan  8 21:30:57 2009 +0000

mshtml: Declare a function static.

---

 dlls/mshtml/htmlelemcol.c    |    5 ++++-
 dlls/mshtml/mshtml_private.h |    1 -
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/htmlelemcol.c b/dlls/mshtml/htmlelemcol.c
index f0ca6d7..2dbbaca 100644
--- a/dlls/mshtml/htmlelemcol.c
+++ b/dlls/mshtml/htmlelemcol.c
@@ -50,6 +50,9 @@ typedef struct {
     DWORD size;
 } elem_vector_t;
 
+static IHTMLElementCollection *HTMLElementCollection_Create(IUnknown *ref_unk,
+                                                            HTMLElement **elems, DWORD len);
+
 static void elem_vector_add(elem_vector_t *buf, HTMLElement *elem)
 {
     if(buf->len == buf->size) {
@@ -534,7 +537,7 @@ IHTMLElementCollection *create_collection_from_htmlcol(HTMLDocument *doc, IUnkno
     return HTMLElementCollection_Create(unk, buf.buf, buf.len);
 }
 
-IHTMLElementCollection *HTMLElementCollection_Create(IUnknown *ref_unk,
+static IHTMLElementCollection *HTMLElementCollection_Create(IUnknown *ref_unk,
             HTMLElement **elems, DWORD len)
 {
     HTMLElementCollection *ret = heap_alloc_zero(sizeof(HTMLElementCollection));
diff --git a/dlls/mshtml/mshtml_private.h b/dlls/mshtml/mshtml_private.h
index a7e364e..148c997 100644
--- a/dlls/mshtml/mshtml_private.h
+++ b/dlls/mshtml/mshtml_private.h
@@ -614,7 +614,6 @@ void doc_insert_script(HTMLDocument*,nsIDOMHTMLScriptElement*);
 IDispatch *script_parse_event(HTMLDocument*,LPCWSTR);
 void set_script_mode(HTMLDocument*,SCRIPTMODE);
 
-IHTMLElementCollection *HTMLElementCollection_Create(IUnknown*,HTMLElement**,DWORD);
 IHTMLElementCollection *create_all_collection(HTMLDOMNode*,BOOL);
 IHTMLElementCollection *create_collection_from_nodelist(HTMLDocument*,IUnknown*,nsIDOMNodeList*);
 IHTMLElementCollection *create_collection_from_htmlcol(HTMLDocument*,IUnknown*,nsIDOMHTMLCollection*);




More information about the wine-cvs mailing list