void __attribute__ ((long_call)) pig(void) { }
Ok thanks, with such change to the definition the file compiles. I didn't know one can attribute definitions too, and info gcc says: " The keyword `__attribute__' allows you to specify special attributes when making a declaration. "So I supposed that for any function that has an attribute you need an explicit function declaration stating that, and then the definition as usual.
Jani