Continue protocol porting
Remove "extern" from function prototypes