Commit e9832a06 authored by Alexandre Julliard's avatar Alexandre Julliard

mshtml: Make some functions static.

parent 7d4bc850
......@@ -119,7 +119,7 @@ static REFIID tid_ids[] = {
&IID_IOmNavigator
};
HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo)
static HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo)
{
HRESULT hres;
......
......@@ -139,7 +139,7 @@ static const IHTMLCommentElementVtbl HTMLCommentElementVtbl = {
#define HTMLCOMMENT_NODE_THIS(iface) DEFINE_THIS2(HTMLCommentElement, element.node, iface)
HRESULT HTMLCommentElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
static HRESULT HTMLCommentElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
{
HTMLCommentElement *This = HTMLCOMMENT_NODE_THIS(iface);
......@@ -156,7 +156,7 @@ HRESULT HTMLCommentElement_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
return S_OK;
}
void HTMLCommentElement_destructor(HTMLDOMNode *iface)
static void HTMLCommentElement_destructor(HTMLDOMNode *iface)
{
HTMLCommentElement *This = HTMLCOMMENT_NODE_THIS(iface);
......
......@@ -281,7 +281,7 @@ HRESULT get_nsstyle_attr(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, BSTR
return S_OK;
}
HRESULT get_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, VARIANT *p, DWORD flags)
static HRESULT get_nsstyle_attr_var(nsIDOMCSSStyleDeclaration *nsstyle, styleid_t sid, VARIANT *p, DWORD flags)
{
nsAString str_value;
const PRUnichar *value;
......@@ -366,7 +366,7 @@ static inline HRESULT set_style_pos(HTMLStyle *This, styleid_t sid, float value)
return set_style_attr(This, sid, szValue, 0);
}
HRESULT get_nsstyle_pos(HTMLStyle *This, styleid_t sid, float *p)
static HRESULT get_nsstyle_pos(HTMLStyle *This, styleid_t sid, float *p)
{
nsAString str_value;
HRESULT hres;
......
......@@ -149,7 +149,7 @@ static const IHTMLDOMTextNodeVtbl HTMLDOMTextNodeVtbl = {
#define HTMLTEXT_NODE_THIS(iface) DEFINE_THIS2(HTMLDOMTextNode, node, iface)
HRESULT HTMLDOMTextNode_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
static HRESULT HTMLDOMTextNode_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
{
HTMLDOMTextNode *This = HTMLTEXT_NODE_THIS(iface);
......@@ -166,7 +166,7 @@ HRESULT HTMLDOMTextNode_QI(HTMLDOMNode *iface, REFIID riid, void **ppv)
return S_OK;
}
void HTMLDOMTextNode_destructor(HTMLDOMNode *iface)
static void HTMLDOMTextNode_destructor(HTMLDOMNode *iface)
{
HTMLDOMTextNode *This = HTMLTEXT_NODE_THIS(iface);
......
......@@ -655,7 +655,6 @@ void remove_doc_tasks(const HTMLDocument*);
DWORD set_task_timer(HTMLDocument*,DWORD,BOOL,IDispatch*);
HRESULT clear_task_timer(HTMLDocument*,BOOL,DWORD);
HRESULT get_typeinfo(tid_t,ITypeInfo**);
void release_typelib(void);
void call_disp_func(HTMLDocument*,IDispatch*,IDispatch*);
......
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