Commit f347b957 authored by Alexandre Julliard's avatar Alexandre Julliard

jscript: Make some functions and variables static.

parent 05bdac15
......@@ -47,7 +47,7 @@ static const WCHAR propertyIsEnumerableW[] =
{'p','r','o','p','e','r','t','y','I','s','E','n','u','m','e','r','a','b','l','e',0};
static const WCHAR isPrototypeOfW[] = {'i','s','P','r','o','t','o','t','y','p','e','O','f',0};
const WCHAR default_separatorW[] = {',',0};
static const WCHAR default_separatorW[] = {',',0};
static HRESULT Array_length(DispatchEx *dispex, LCID lcid, WORD flags, DISPPARAMS *dp,
VARIANT *retv, jsexcept_t *ei, IServiceProvider *sp)
......
......@@ -278,7 +278,7 @@ static HRESULT disp_cmp(IDispatch *disp1, IDispatch *disp2, BOOL *ret)
}
/* ECMA-262 3rd Edition 11.9.6 */
HRESULT equal2_values(VARIANT *lval, VARIANT *rval, BOOL *ret)
static HRESULT equal2_values(VARIANT *lval, VARIANT *rval, BOOL *ret)
{
TRACE("\n");
......
......@@ -110,8 +110,8 @@ struct statement_list_t {
statement_t *tail;
};
statement_list_t *new_statement_list(parser_ctx_t*,statement_t*);
statement_list_t *statement_list_add(statement_list_t*,statement_t*);
static statement_list_t *new_statement_list(parser_ctx_t*,statement_t*);
static statement_list_t *statement_list_add(statement_list_t*,statement_t*);
typedef struct _parameter_list_t {
parameter_t *head;
......@@ -1493,7 +1493,7 @@ static source_elements_t *source_elements_add_statement(source_elements_t *sourc
return source_elements;
}
statement_list_t *new_statement_list(parser_ctx_t *ctx, statement_t *statement)
static statement_list_t *new_statement_list(parser_ctx_t *ctx, statement_t *statement)
{
statement_list_t *ret = parser_alloc_tmp(ctx, sizeof(statement_list_t));
......@@ -1502,7 +1502,7 @@ statement_list_t *new_statement_list(parser_ctx_t *ctx, statement_t *statement)
return ret;
}
statement_list_t *statement_list_add(statement_list_t *list, statement_t *statement)
static statement_list_t *statement_list_add(statement_list_t *list, statement_t *statement)
{
list->tail = list->tail->next = statement;
......
......@@ -181,7 +181,7 @@ typedef enum REOp {
#define REOP_IS_SIMPLE(op) ((op) <= REOP_NCLASS)
const char *reop_names[] = {
static const char *reop_names[] = {
"empty",
"bol",
"eol",
......
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