Extern declarations in C files loses compile-time checking that
the functions' calls match their definitions. Move them to header files.

Reviewed by:	jilles (previous version)


git-svn-id: svn+ssh://svn.freebsd.org/base/head@276215 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f