Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
buildsupport
Commits
82c88e88
Commit
82c88e88
authored
Jun 22, 2016
by
Maxime Perrotin
Browse files
Minor - cosmetics
parent
ea61a49e
Changes
1
Hide whitespace changes
Inline
Side-by-side
c/ada_wrappers_backend.c
View file @
82c88e88
...
...
@@ -402,7 +402,6 @@ void add_RI_to_ada_wrappers(Interface * i)
{
Parameter_list
*
tmp
;
int
count
=
0
;
FV_list
*
calltmp
=
NULL
;
FILE
*
s
=
ads
,
*
b
=
adb
;
...
...
@@ -569,10 +568,8 @@ void add_RI_to_ada_wrappers(Interface * i)
fprintf
(
b
,
"
\t\t
-- It must use its calling thread to invoke this asynchronous RI
\n\n
"
);
/* ForEachWithParam element of i->parent_fv->calling_threads,
execute CountFV and update & count thanks;*/
/* Count the number of calling threads */
/* Build the list of calling threads for this RI */
FV_list
*
calltmp
=
NULL
;
if
(
NULL
==
i
->
calling_pis
)
calltmp
=
i
->
parent_fv
->
calling_threads
;
else
{
FOREACH
(
calling_pi
,
Interface
,
i
->
calling_pis
,
{
...
...
@@ -581,6 +578,8 @@ void add_RI_to_ada_wrappers(Interface * i)
});
});
}
/* Count the number of calling threads */
FOREACH
(
ct
,
FV
,
calltmp
,
{
(
void
)
ct
;
count
++
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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