Fix function prototype to be valid C