Hello,

Suppose we have the code:

int foo (...){...}

Could I write a patch that adds a duplicate function definition for foo.

The resulting code would look like

int foo (...) {...}
int bar (...) {...}

where foo and bar have the exact same parameters and function bodies.

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

Reply via email to