Fix line number information for function prototypes