On Thu, 2 Apr 2015, ron minnich wrote:
> I have this typedef in Plan 9typedef 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.
Could you send an example of a badly failing effort?
thans,
julia
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci