jscript: Make scope_push() static.

Francois Gouget fgouget at free.fr
Sat Jan 7 07:46:59 CST 2017


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

diff --git a/dlls/jscript/engine.c b/dlls/jscript/engine.c
index f958204e30c..90e6f8f8659 100644
--- a/dlls/jscript/engine.c
+++ b/dlls/jscript/engine.c
@@ -390,7 +390,7 @@ static inline void clear_ret(call_frame_t *frame)
     jsval_release(steal_ret(frame));
 }
 
-HRESULT scope_push(scope_chain_t *scope, jsdisp_t *jsobj, IDispatch *obj, scope_chain_t **ret)
+static HRESULT scope_push(scope_chain_t *scope, jsdisp_t *jsobj, IDispatch *obj, scope_chain_t **ret)
 {
     scope_chain_t *new_scope;
 
diff --git a/dlls/jscript/engine.h b/dlls/jscript/engine.h
index 3ac8169a1dd..f5b484b8860 100644
--- a/dlls/jscript/engine.h
+++ b/dlls/jscript/engine.h
@@ -197,7 +197,6 @@ typedef struct _scope_chain_t {
     struct _scope_chain_t *next;
 } scope_chain_t;
 
-HRESULT scope_push(scope_chain_t*,jsdisp_t*,IDispatch*,scope_chain_t**) DECLSPEC_HIDDEN;
 void scope_release(scope_chain_t*) DECLSPEC_HIDDEN;
 
 static inline scope_chain_t *scope_addref(scope_chain_t *scope)
-- 
2.11.0




More information about the wine-patches mailing list