jscript: Make scope_push() static.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2017-01-07 14:46:59 +01:00 committed by Alexandre Julliard
parent 7effdeebda
commit 493659e097
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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)