fix c function definition with multi-lines