I've got a file with the following sorts of things

void f(uint x)
{
  uint z;
}

I'd like to transform all instances of uint to unsigned int. Doable
with coccinnelle?

Also:
IPhdr x;
needs to become
struct iphdr x;
in all parameters and declarations. Also likely trivial, I can't seem
to get anything to work.

Now a really harder one:
Plan 9 C to C
I have things like
void x(char *, int, int i)
{
...
}

The unnamed params are how we indicate in plan 9 that the parameter is
unused. But coccinnelle throws an error, as it's not really valid. Any
thoughts on this one?

Thanks in advance.

ron
_______________________________________________
Cocci mailing list
[email protected]
https://systeme.lip6.fr/mailman/listinfo/cocci

Reply via email to