HCoop
/
bpt
/
coccinelle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Release coccinelle-0.1.9-rc1
[bpt/coccinelle.git]
/
demos
/
change_all_param.c
diff --git a/demos/change_all_param.c
b/demos/change_all_param.c
new file mode 100644
(file)
index 0000000..
3617d16
--- /dev/null
+++ b/
demos/change_all_param.c
@@ -0,0
+1,19
@@
+int foo(int a, int b)
+{
+ return a + b;
+}
+
+int bar(int a, int b, int c)
+{
+ return a + b + c;
+}
+
+void main(void)
+{
+ int res;
+ int x,y,y;
+
+ res = foo(x,y);
+
+ res = bar(x,y,z);
+}