Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f347b957
Commit
f347b957
authored
Dec 02, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Make some functions and variables static.
parent
05bdac15
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
array.c
dlls/jscript/array.c
+1
-1
engine.c
dlls/jscript/engine.c
+1
-1
parser.y
dlls/jscript/parser.y
+4
-4
regexp.c
dlls/jscript/regexp.c
+1
-1
No files found.
dlls/jscript/array.c
View file @
f347b957
...
...
@@ -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
)
...
...
dlls/jscript/engine.c
View file @
f347b957
...
...
@@ -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
"
);
...
...
dlls/jscript/parser.y
View file @
f347b957
...
...
@@ -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*);
stat
ic stat
ement_list_t *new_statement_list(parser_ctx_t*,statement_t*);
stat
ic stat
ement_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)
stat
ic stat
ement_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)
stat
ic stat
ement_list_t *statement_list_add(statement_list_t *list, statement_t *statement)
{
list->tail = list->tail->next = statement;
...
...
dlls/jscript/regexp.c
View file @
f347b957
...
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment