in reply to h2x: "Plese specifiy protoyping behaviour for..."

As well as specifying the prototyping behaviour in the .xs file you can specify:

XSPROTOARG => '-noprototypes'
in the arguments to WriteMakefile() in your Makefile.PL

/J\