ipa: Correct the prototype of these functions

They return nothing and not int.