[PATCH] mshtml: Make set_frame_doc() static.

Francois Gouget fgouget at free.fr
Tue Apr 17 20:25:10 CDT 2018


It is only used in one C file now.

Signed-off-by: Francois Gouget <fgouget at free.fr>
---
 dlls/mshtml/htmlframe.c      | 2 +-
 dlls/mshtml/mshtml_private.h | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/dlls/mshtml/htmlframe.c b/dlls/mshtml/htmlframe.c
index e4a7a612c20..17a78e55a5f 100644
--- a/dlls/mshtml/htmlframe.c
+++ b/dlls/mshtml/htmlframe.c
@@ -39,7 +39,7 @@ static const WCHAR yesW[] = {'y','e','s',0};
 static const WCHAR noW[] = {'n','o',0};
 static const WCHAR pxW[] = {'p','x',0};
 
-HRESULT set_frame_doc(HTMLFrameBase *frame, nsIDOMDocument *nsdoc)
+static HRESULT set_frame_doc(HTMLFrameBase *frame, nsIDOMDocument *nsdoc)
 {
     mozIDOMWindowProxy *mozwindow;
     HTMLOuterWindow *window;
diff --git a/dlls/mshtml/mshtml_private.h b/dlls/mshtml/mshtml_private.h
index ff52dae5721..0a4dfba93dc 100644
--- a/dlls/mshtml/mshtml_private.h
+++ b/dlls/mshtml/mshtml_private.h
@@ -922,8 +922,6 @@ void init_node_cc(void) DECLSPEC_HIDDEN;
 
 HRESULT nsuri_to_url(LPCWSTR,BOOL,BSTR*) DECLSPEC_HIDDEN;
 
-HRESULT set_frame_doc(HTMLFrameBase*,nsIDOMDocument*) DECLSPEC_HIDDEN;
-
 void call_property_onchanged(ConnectionPointContainer*,DISPID) DECLSPEC_HIDDEN;
 HRESULT call_set_active_object(IOleInPlaceUIWindow*,IOleInPlaceActiveObject*) DECLSPEC_HIDDEN;
 
-- 
2.17.0




More information about the wine-devel mailing list