Release coccinelle-0.2.1-rc1
[bpt/coccinelle.git] / tests / proto2.cocci
1 @@
2 identifier fn2;
3 identifier bcs, ev;
4 @@
5
6 - fn2(struct BCState *bcs, int ev) {
7 + fn2(int ev) {
8 ...
9 bcs->event |= 1 << ev;
10 schedule_work(&bcs->work);
11 }