I've got lots of these:
void f(int i, Chan *x)

or similar

to
void f(int i, struct chan *x)

I've got lots of spatches that selectively delete function calls with
certain types, but not that change a parameter.

I've tried stuff like this:

@@
function f;
identifier d;
@@
f(...,
-Chan *d,
+struct chan *d,
 ...);

and several variants but ... no luck.

thanks

ron
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to