I have this typedef in Plan 9 typedef struct Mach Mach; a global Mach *m;
and functions:
a(...){
...
m->whatever = x;
...
}
I want to add some code after the {
+Mach *m=machp();
I.e. for any function that uses the "global" (it's not really that, it's a
bit more complex) I want to add a local variable that is initialized.
My efforts so far have failed badly.
ron
_______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
