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
bf5e46a6
Commit
bf5e46a6
authored
Jun 20, 2007
by
Dan Hipschman
Committed by
Alexandre Julliard
Jun 21, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Fix warnings about unused function parameters.
parent
4e8c8d03
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
typegen.c
tools/widl/typegen.c
+5
-6
No files found.
tools/widl/typegen.c
View file @
bf5e46a6
...
@@ -992,7 +992,7 @@ static void write_descriptors(FILE *file, type_t *type, unsigned int *tfsoff)
...
@@ -992,7 +992,7 @@ static void write_descriptors(FILE *file, type_t *type, unsigned int *tfsoff)
}
}
static
int
write_no_repeat_pointer_descriptions
(
static
int
write_no_repeat_pointer_descriptions
(
FILE
*
file
,
const
attr_list_t
*
attrs
,
type_t
*
type
,
FILE
*
file
,
type_t
*
type
,
size_t
*
offset_in_memory
,
size_t
*
offset_in_buffer
,
size_t
*
offset_in_memory
,
size_t
*
offset_in_buffer
,
unsigned
int
*
typestring_offset
)
unsigned
int
*
typestring_offset
)
{
{
...
@@ -1028,7 +1028,7 @@ static int write_no_repeat_pointer_descriptions(
...
@@ -1028,7 +1028,7 @@ static int write_no_repeat_pointer_descriptions(
const
var_t
*
v
;
const
var_t
*
v
;
LIST_FOR_EACH_ENTRY
(
v
,
type
->
fields
,
const
var_t
,
entry
)
LIST_FOR_EACH_ENTRY
(
v
,
type
->
fields
,
const
var_t
,
entry
)
written
+=
write_no_repeat_pointer_descriptions
(
written
+=
write_no_repeat_pointer_descriptions
(
file
,
v
->
attrs
,
v
->
type
,
file
,
v
->
type
,
offset_in_memory
,
offset_in_buffer
,
typestring_offset
);
offset_in_memory
,
offset_in_buffer
,
typestring_offset
);
}
}
else
else
...
@@ -1303,7 +1303,6 @@ static int write_varying_array_pointer_descriptions(
...
@@ -1303,7 +1303,6 @@ static int write_varying_array_pointer_descriptions(
}
}
static
void
write_pointer_description
(
FILE
*
file
,
type_t
*
type
,
static
void
write_pointer_description
(
FILE
*
file
,
type_t
*
type
,
size_t
mem_offset
,
int
level
,
unsigned
int
*
typestring_offset
)
unsigned
int
*
typestring_offset
)
{
{
size_t
offset_in_buffer
;
size_t
offset_in_buffer
;
...
@@ -1314,7 +1313,7 @@ static void write_pointer_description(FILE *file, type_t *type,
...
@@ -1314,7 +1313,7 @@ static void write_pointer_description(FILE *file, type_t *type,
offset_in_memory
=
0
;
offset_in_memory
=
0
;
offset_in_buffer
=
0
;
offset_in_buffer
=
0
;
write_no_repeat_pointer_descriptions
(
write_no_repeat_pointer_descriptions
(
file
,
NULL
,
type
,
file
,
type
,
&
offset_in_memory
,
&
offset_in_buffer
,
typestring_offset
);
&
offset_in_memory
,
&
offset_in_buffer
,
typestring_offset
);
/* pass 2: search for pointers in fixed arrays */
/* pass 2: search for pointers in fixed arrays */
...
@@ -1518,7 +1517,7 @@ static size_t write_array_tfs(FILE *file, const attr_list_t *attrs, type_t *type
...
@@ -1518,7 +1517,7 @@ static size_t write_array_tfs(FILE *file, const attr_list_t *attrs, type_t *type
print_file
(
file
,
2
,
"0x%x, /* FC_PP */
\n
"
,
RPC_FC_PP
);
print_file
(
file
,
2
,
"0x%x, /* FC_PP */
\n
"
,
RPC_FC_PP
);
print_file
(
file
,
2
,
"0x%x, /* FC_PAD */
\n
"
,
RPC_FC_PAD
);
print_file
(
file
,
2
,
"0x%x, /* FC_PAD */
\n
"
,
RPC_FC_PAD
);
*
typestring_offset
+=
2
;
*
typestring_offset
+=
2
;
write_pointer_description
(
file
,
type
,
0
,
0
,
typestring_offset
);
write_pointer_description
(
file
,
type
,
typestring_offset
);
print_file
(
file
,
2
,
"0x%x, /* FC_END */
\n
"
,
RPC_FC_END
);
print_file
(
file
,
2
,
"0x%x, /* FC_END */
\n
"
,
RPC_FC_END
);
*
typestring_offset
+=
1
;
*
typestring_offset
+=
1
;
}
}
...
@@ -1631,7 +1630,7 @@ static size_t write_struct_tfs(FILE *file, type_t *type,
...
@@ -1631,7 +1630,7 @@ static size_t write_struct_tfs(FILE *file, type_t *type,
print_file
(
file
,
2
,
"0x%x, /* FC_PP */
\n
"
,
RPC_FC_PP
);
print_file
(
file
,
2
,
"0x%x, /* FC_PP */
\n
"
,
RPC_FC_PP
);
print_file
(
file
,
2
,
"0x%x, /* FC_PAD */
\n
"
,
RPC_FC_PAD
);
print_file
(
file
,
2
,
"0x%x, /* FC_PAD */
\n
"
,
RPC_FC_PAD
);
*
tfsoff
+=
2
;
*
tfsoff
+=
2
;
write_pointer_description
(
file
,
type
,
0
,
0
,
tfsoff
);
write_pointer_description
(
file
,
type
,
tfsoff
);
print_file
(
file
,
2
,
"0x%x, /* FC_END */
\n
"
,
RPC_FC_END
);
print_file
(
file
,
2
,
"0x%x, /* FC_END */
\n
"
,
RPC_FC_END
);
*
tfsoff
+=
1
;
*
tfsoff
+=
1
;
}
}
...
...
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