HCoop
/
bpt
/
coccinelle.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Coccinelle release 1.0.0-rc3
[bpt/coccinelle.git]
/
demos
/
change_all_param.c
1
int
foo
(
int
a
,
int
b
)
2
{
3
return
a
+
b
;
4
}
5
6
int
bar
(
int
a
,
int
b
,
int
c
)
7
{
8
return
a
+
b
+
c
;
9
}
10
11
void
main
(
void
)
12
{
13
int
res
;
14
int
x
,
y
,
y
;
15
16
res
=
foo
(
x
,
y
);
17
18
res
=
bar
(
x
,
y
,
z
);
19
}