Francois Gouget : jscript: Make scope_push() static.

Alexandre Julliard julliard at winehq.org
Tue Jan 10 15:24:42 CST 2017


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Sat Jan  7 14:46:59 2017 +0100

jscript: Make scope_push() static.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 f958204..90e6f8f 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 3ac8169..f5b484b 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)




More information about the wine-cvs mailing list