Commit 3b26d50d authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

mshtml: Declare a function static.

parent 7a326f94
...@@ -50,6 +50,9 @@ typedef struct { ...@@ -50,6 +50,9 @@ typedef struct {
DWORD size; DWORD size;
} elem_vector_t; } 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) static void elem_vector_add(elem_vector_t *buf, HTMLElement *elem)
{ {
if(buf->len == buf->size) { if(buf->len == buf->size) {
...@@ -534,7 +537,7 @@ IHTMLElementCollection *create_collection_from_htmlcol(HTMLDocument *doc, IUnkno ...@@ -534,7 +537,7 @@ IHTMLElementCollection *create_collection_from_htmlcol(HTMLDocument *doc, IUnkno
return HTMLElementCollection_Create(unk, buf.buf, buf.len); 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) HTMLElement **elems, DWORD len)
{ {
HTMLElementCollection *ret = heap_alloc_zero(sizeof(HTMLElementCollection)); HTMLElementCollection *ret = heap_alloc_zero(sizeof(HTMLElementCollection));
......
...@@ -614,7 +614,6 @@ void doc_insert_script(HTMLDocument*,nsIDOMHTMLScriptElement*); ...@@ -614,7 +614,6 @@ void doc_insert_script(HTMLDocument*,nsIDOMHTMLScriptElement*);
IDispatch *script_parse_event(HTMLDocument*,LPCWSTR); IDispatch *script_parse_event(HTMLDocument*,LPCWSTR);
void set_script_mode(HTMLDocument*,SCRIPTMODE); void set_script_mode(HTMLDocument*,SCRIPTMODE);
IHTMLElementCollection *HTMLElementCollection_Create(IUnknown*,HTMLElement**,DWORD);
IHTMLElementCollection *create_all_collection(HTMLDOMNode*,BOOL); IHTMLElementCollection *create_all_collection(HTMLDOMNode*,BOOL);
IHTMLElementCollection *create_collection_from_nodelist(HTMLDocument*,IUnknown*,nsIDOMNodeList*); IHTMLElementCollection *create_collection_from_nodelist(HTMLDocument*,IUnknown*,nsIDOMNodeList*);
IHTMLElementCollection *create_collection_from_htmlcol(HTMLDocument*,IUnknown*,nsIDOMHTMLCollection*); IHTMLElementCollection *create_collection_from_htmlcol(HTMLDocument*,IUnknown*,nsIDOMHTMLCollection*);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment