Fix C declarations