One question I have is, I guess I need to adjust the standard.h file for DragonFly, right? What exactly needs to go into it?

That would be best.  Run spatch -parse_c -dir dragonfly_path
and see what it gives. For things like UNUSED that should just disappear, you can say

#define UNUSED

For something that has a variable number of arguments, you can say

#define THING(x)

You can also give a proper definition of the macro.

For something that is to be used without a trailing semicolon, you can say

#define THING(x) MACROSTATEMENT

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

Reply via email to