style: move "extern" decls to headers